Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate with content creator credentials
-
DeliveryNavigate to /add/content?type=image
-
ExploitInject XSS payload in unsanitized field
-
ExecutionVictim user views malicious content
-
PersistJavaScript executes in victim browser
-
ImpactSteal session tokens or perform actions 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 | Attacker must possess authenticated credentials with content creation privileges in HTMLy (PR:L indicates low-privilege authenticated access required). Specifically requires access to the /add/content?type=image endpoint, which is typically restricted to authors, editors, or administrators in HTMLy's role model. Exploitation further requires victim user interaction (UI:R) - a second user must navigate to and view the page containing the injected malicious content. The vulnerability exists in default HTMLy 3.1.1 configurations with no special settings required. Network accessibility (AV:N) and low attack complexity (AC:L) mean exploitation is straightforward once authentication and victim interaction conditions are met. Exploitation is LIMITED by: the need for pre-existing authenticated access (not remotely exploitable against anonymous users), non-automatable nature requiring victim to view specific content, and HTMLy deployment scenarios where only trusted users have content creation rights. |
| Impact | Real-world risk assessment reveals moderate actual threat despite high CVSS 8.9. CVSS vector indicates network-exploitable (AV:N), low complexity (AC:L), but requires authentication (PR:L) and user interaction (UI:R). EPSS probability of 0.02% (4th percentile) suggests exploitation in the wild remains extremely rare despite public POC availability. SSVC framework confirms POC exists but exploitation is not automatable and technical impact is partial rather than total. The scope change (S:C) and high confidentiality/integrity scores reflect serious impact if exploited - attacker can execute JavaScript in victim contexts, potentially stealing credentials, session tokens, or performing actions as the victim. However, exploitation requires: (1) attacker has authenticated content creation privileges, (2) attacker successfully injects payload via image upload, and (3) victim user views the malicious content. Not listed in CISA KEV, indicating no confirmed active exploitation campaigns. Priority should focus on environments where HTMLy is internet-facing with untrusted authenticated users. For single-author or trusted-user deployments, risk is substantially lower. |
| Exploit ScenarioDerived | An authenticated attacker with content creation privileges accesses the HTMLy admin panel and navigates to /add/content?type=image. Instead of uploading a legitimate image, the attacker injects malicious JavaScript payload into improperly sanitized input fields (likely image metadata, caption, or filename fields based on XSS at image upload endpoint). When other users or administrators view the page containing this content, the injected script executes in their browser context with scope change, allowing the attacker to steal session cookies, capture credentials, or perform privileged actions as the victim. Public POC demonstration exists on YouTube (https://youtu.be/3e-tzUMCox8) showing practical exploitation steps. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – May 10, 2026
Stored Cross-Site Scripting in HTMLy 3.1.1 allows authenticated users with content creation privileges to inject malicious JavaScript via the image upload endpoint (/add/content?type=image), executing arbitrary code in victim browsers with scope change (S:C) indicating potential account takeover or session hijacking. Public proof-of-concept exists (YouTube demonstration and GitHub writeup), though EPSS score remains low (2%, 4th percentile) and no active exploitation has been confirmed by CISA KEV. CVSS 8.9 reflects high confidentiality and integrity impact but requires victim interaction.
RemediationAI
Upgrade to a patched version of HTMLy if available from the official GitHub repository (https://github.com/danpros/htmly). At time of analysis, no vendor security advisory or specific patch version has been identified in the provided data. Users should monitor the HTMLy GitHub repository for security updates addressing CVE-2026-38949. As interim mitigation, restrict content creation privileges (the /add/content endpoint) to only fully trusted administrators, effectively eliminating the attack vector in environments where untrusted users do not require content creation access - this reduces exploitability but prevents legitimate multi-author use cases. Alternatively, implement Web Application Firewall (WAF) rules to sanitize inputs at the /add/content?type=image endpoint, though this adds infrastructure complexity and may have compatibility impacts with legitimate image uploads. Deploy Content Security Policy (CSP) headers with strict script-src directives to prevent inline script execution, which mitigates XSS impact but may break existing HTMLy features that rely on inline JavaScript. Review the POC methodology at https://github.com/Chittu13/cve-research/blob/main/CVE-2026-38949/README.md to understand specific payload patterns for detection rules.
Affected VersionsENISA
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
HTMLy is a flat-file CMS/blog platform written in PHP. This vulnerability affects the content creation module specifically at the image upload functionality. The application implements CWE-79 (Cross-Site Scripting) by failing to apply proper output encoding or input sanitization when processing user-supplied data through the /add/content?type=image endpoint. The CVSS scope change (S:C) indicates the vulnerability can affect resources beyond the vulnerable component's security scope, suggesting the injected script executes in contexts that impact other users or sessions. The attack requires low privileges (PR:L), indicating authenticated access to content creation features, and user interaction (UI:R), meaning a victim must view the malicious content. CPE data is incomplete (cpe:2.3:a:n/a:n/a), but EUVD and references confirm HTMLy version 3.1.1 as affected.
Know when N A 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
AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:L
Primary rating from NVD · only source for this CVE.
CVSS VectorNVD
Lifecycle Timeline
3DescriptionCVE.org
Cross-Site Scripting (XSS) vulnerability exists in HTMLy version 3.1.1 in the content creation functionality at the /add/content?type=image endpoint. The application fails to properly sanitize user input, allowing injection of arbitrary code
Executive ViewAI
HTMLy 3.1.1 contains a stored cross-site scripting vulnerability in the image upload function that allows authenticated content creators to inject malicious scripts affecting all users who view that content, potentially compromising accounts and sessions. Organizations using HTMLy for content management must immediately restrict upload privileges and implement input validation, as public exploit code exists and the vulnerability affects content integrity across the platform.
No vendor-released patch identified at time of analysis. Interim mitigations: (1) Restrict /add/content?type=image endpoint access to administrator role only; (2) Implement Content Security Policy headers to block inline script execution; (3) Enable HTML sanitization library (e.g., DOMPurify) on all user-supplied image metadata and captions; (4) Log and monitor all image uploads for suspicious file names and embedded script patterns; (5) Require manual admin approval before any user-uploaded image is published.
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.
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
LibreNMS before 24.10.0 allows a remote attacker to execute arbitrary code via OS command injection involving AboutContr
Reachable assertion in Open5GS up to version 2.7.6 allows remote unauthenticated attackers to crash the Diameter CER han
A Command Injection issue in the payload build page in BYOB (Build Your Own Botnet) 2.0 allows attackers to execute arbi
Denial of service in Open5GS 2.7.6 and earlier allows network-adjacent attackers with low-privilege Diameter Gx peer acc
Denial of service in Open5GS HSS (Home Subscriber Server) versions 2.7.0 through 2.7.6 is triggered remotely by manipula
Remote command injection in Control Web Panel allows unauthenticated attackers to execute arbitrary OS commands as root
LINQPad before 5.52.01 Pro edition is vulnerable to Unsafe Deserialization in LINQPad.AutoRefManager::PopulateFromCache(
Remote code execution in dash-uploader (Python package for Plotly Dash) versions 0.1.0 through 0.7.0a2 allows unauthenti
Command injection in LiteLLM 1.18.10 lets attackers who can configure MCP (Model Context Protocol) servers supply arbitr
SQL injection in AzuraCast's backup restore flow (versions up to and including 0.23.7) lets an attacker achieve privileg
Arbitrary file read in Yu AI Code Mother v4.3 lets anonymous, remote attackers retrieve files outside the intended previ
Remote code execution in APScheduler (all versions through 3.10.x and 4.0.0a5) is achievable when applications deseriali
EUVD-2026-26069
NVD
CVE.org
EPSS
Vulnrichment
GitHub
Exploit-DB