Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessRegister low-privilege account
-
DeliveryCraft payload in language- class token
-
ExploitStore script in profile bio
-
ExecutionAdmin or user views profile
-
PersistScript steals non-httpOnly sid cookie
-
ImpactHijack session as victim
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires an authenticated registered Hydro account (PR:L) able to edit a profile bio, and a victim - administrator or other user - who passively views the attacker's profile (UI:P), triggering markdown rendering of the stored payload. The specific trigger is placing double quotes inside a 'language-' class token in markdown, which the pre-4.59.1 filter in markdown-it-xss.ts admitted because it only checked that the token startsWith('language-'). Successful cookie theft specifically depends on the 'sid' session cookie being non-httpOnly, which allows JavaScript access. Limiting factors: attacker must register/authenticate, the victim must view the malicious profile content, and only sessions using the non-httpOnly sid cookie are exposed; these conditions apply to default profile-bio/markdown functionality in affected versions below 4.59.1. |
| Impact | This is a genuine, actionable priority rather than an inflated-CVSS artifact. The vendor-reported CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:P) describes a network-reachable, low-complexity stored XSS requiring only a registered (PR:L) account and passive victim interaction (UI:P - simply viewing the attacker's profile). The vuln.today decision label is act_now and the finding was reported by VulnCheck, both reinforcing urgency. The high vulnerable- and subsequent-system impacts (VC/VI/SC/SI:H) are consistent with the described outcome: theft of the non-httpOnly 'sid' session cookie enabling hijacking of administrator or other-user sessions. No EPSS score and no CISA KEV listing were provided in the input, and no confirmed working exploit code is referenced - the available references are advisories (VulnCheck, vul.yulun.ac.cn), the fixing commit, and source lines, not a verified PoC. Therefore the signals are internally consistent (vendor severity + act_now + confirmed patch) but exploitation is not independently confirmed as active or automated; treat as high-priority remediation, not confirmed in-the-wild exploitation. |
| Exploit ScenarioDerived | A registered Hydro user edits their profile bio to embed a crafted markdown language- class token containing double quotes that bypasses the XSS filter in markdown-it-xss.ts. When an administrator or another user views that profile, the injected script runs in their browser and exfiltrates the non-httpOnly 'sid' session cookie, letting the attacker hijack the victim's session. No public exploit identified at time of analysis; the attack requires only a low-privilege account (PR:L) and passive viewing by the victim (UI:P). |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 11, 2026
Stored cross-site scripting in Hydro's @hydrooj/ui-default package before 4.59.1 lets any registered user (PR:L) plant script in a profile bio that executes when an administrator or other user passively views the profile (UI:P), exposing the non-httpOnly sid session cookie to theft and session hijacking (CVSS 3.1: AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N). The flaw lives in markdown-it-xss.ts, where the class-attribute whitelist accepted any token merely starting with 'language-', so a double quote inside that token broke out of the attribute. No confirmed public working exploit is identified at time of analysis; the vendor fix is released in 4.59.1.
RemediationAI
Vendor-released patch: 4.59.1. Upgrade @hydrooj/ui-default to 4.59.1 (Hydro 5.1.0), which replaces the prefix-based class whitelist with the anchored /^language-[a-z+]+$/i check in backendlib/markdown-it-xss.ts; apply the commit https://github.com/hydro-dev/Hydro/commit/3bae56fe8edddff12346bcb1c8281269c94688d8 if the release cannot be deployed directly, and see https://www.vulncheck.com/advisories/hydro-hydrooj-ui-default-before-4.59.1-stored-xss-via-markdown-language-class. No vendor-documented workaround is provided, so updating is the complete fix. The assessment notes that session theft depends on the sid cookie being non-httpOnly; marking that cookie HttpOnly limits the impact of a successful injection but does not close the XSS and can break client-side code that reads sid.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Hydro renders user-supplied markdown through markdown-it hardened by FilterXSS in packages/ui-default/backendlib/markdown-it-xss.ts. The vulnerable attribute handler (lines 150-157) split the class value on spaces and kept tokens that were in a whitelist or that passed i.startsWith('language-'), a prefix-only check that never constrained characters after the prefix. Because the class value is reassembled into an HTML attribute, a token such as language-"><script>...</script> could terminate the attribute and introduce markup, the classic CWE-79 improper-neutralization-of-output pattern. The commit 3bae56fe8edddff12346bcb1c8281269c94688d8 replaces the prefix test with the anchored regular expression /^language-[a-z+]+$/i, rejecting quotes and other meta-characters. Exploitation requires a registered Hydro account able to edit a profile bio and a victim who views that bio, which is default markdown-rendering functionality in affected releases below 4.59.1.
Know when Hydrooj Ui Default gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:H/VI:H/VA:N/SC:H/SI:H/SA:N
Authenticated registered user (PR:L) stores a payload that runs when a victim views it (UI:R); scope changes to the victim's browser (S:C), and admin session-cookie theft yields high confidentiality and integrity impact.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
Hydro @hydrooj/ui-default before 4.59.1 contains a stored cross-site scripting vulnerability that allows registered users to inject script by placing double quotes in language- class tokens within markdown-it-xss.ts. Attackers can store a payload in their profile bio that executes when administrators or other users view it, stealing the non-httpOnly sid session cookie for session hijacking.
Executive ViewAI
Hydro's @hydrooj/ui-default package, used for profile bios, contains a stored cross-site scripting flaw that allows any registered user to inject scripts executing in the browsers of administrators and other users who view the profile. This could lead to session hijacking and unauthorized access to sensitive areas, affecting platform integrity and user trust. Leadership should prioritize remediation to prevent potential account takeovers and data breaches.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
EUVD-2026-124015
GHSA-mfr7-qrjx-rpgx
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB