Skip to main content

@hydrooj/ui-default EUVDEUVD-2026-124015

| CVE-2026-126800 CRITICAL
Cross-site Scripting (XSS) (CWE-79)
2026-11-11 VulnCheck GHSA-mfr7-qrjx-rpgx
9.3
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Register low-privilege account
  2. Delivery
    Craft payload in language- class token
  3. Exploit
    Store script in profile bio
  4. Execution
    Admin or user views profile
  5. Persist
    Script steals non-httpOnly sid cookie
  6. Impact
    Hijack 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).

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

@hydrooj/ui-default 0 <4.59.1

Affected Packages

euvd hydrooj_ui_default fix: 4.59.1

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

Vendor (VulnCheck) PRIMARY 9.3 CRITICAL
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
vuln.today AI 8.7 HIGH

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.

3.1 AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:P/VC:H/VI:H/VA:N/SC:H/SI:H/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
Passive
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
None
Subsequent system: Confidentiality
High
Subsequent system: Integrity
High
Subsequent system: Availability
None

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

Why It Matters

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.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.3%
Top 76% exploitable
Prevalence
Low
online-judge platform for competitive programming, niche educational footprint
Data Quality
6 sources
Confidence: High

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.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

46
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +46
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy