Skip to main content

HTMLy CVE-2026-38949

| EUVDEUVD-2026-26069 HIGH
Cross-site Scripting (XSS) (CWE-79)
2026-04-28 mitre
8.9
CVSS 3.1 · NVD
View

Attack ChainAIDerived

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

  1. Access
    Authenticate with content creator credentials
  2. Delivery
    Navigate to /add/content?type=image
  3. Exploit
    Inject XSS payload in unsanitized field
  4. Execution
    Victim user views malicious content
  5. Persist
    JavaScript executes in victim browser
  6. Impact
    Steal 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.0% exploitation probability (EPSS)

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

Alert me

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

n/a n/a

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

NVD PRIMARY 8.9 HIGH
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

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
Required
Scope
Changed
Confidentiality
High
Integrity
High
Availability
Low

Lifecycle Timeline

3
CVSS changed
May 10, 2026 - 20:22 NVD
8.9 (HIGH)
CVE Published
Apr 28, 2026 - 00:00 nvd
N/A
CVE Published
Apr 28, 2026 - 00:00 nvd
HIGH 8.9

DescriptionCVE.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

Why It Matters

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.

Business Impact: High
Compensating Controls

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

EPSS Score
0.0%
Top 96% exploitable
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 HIGH
CISA KEV No
Public POC No
EPSS 0.0%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
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
Poc
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Partial

Priority Score

44
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +44
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.

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

More in N A

View all
CVE-2024-51092 CRITICAL POC
9.1 May 08

LibreNMS before 24.10.0 allows a remote attacker to execute arbitrary code via OS command injection involving AboutContr

CVE-2025-15684 MEDIUM POC
5.5 Aug 12

Reachable assertion in Open5GS up to version 2.7.6 allows remote unauthenticated attackers to crash the Diameter CER han

CVE-2024-45257 HIGH POC
7.3 May 08

A Command Injection issue in the payload build page in BYOB (Build Your Own Botnet) 2.0 allows attackers to execute arbi

CVE-2025-15687 LOW POC
2.1 Aug 12

Denial of service in Open5GS 2.7.6 and earlier allows network-adjacent attackers with low-privilege Diameter Gx peer acc

CVE-2025-15686 LOW POC
2.1 Aug 12

Denial of service in Open5GS HSS (Home Subscriber Server) versions 2.7.0 through 2.7.6 is triggered remotely by manipula

CVE-2025-67888 HIGH POC
7.3 May 08

Remote command injection in Control Web Panel allows unauthenticated attackers to execute arbitrary OS commands as root

CVE-2024-53326 HIGH POC
7.3 May 08

LINQPad before 5.52.01 Pro edition is vulnerable to Unsafe Deserialization in LINQPad.AutoRefManager::PopulateFromCache(

CVE-2026-38360 CRITICAL POC
9.8 May 08

Remote code execution in dash-uploader (Python package for Plotly Dash) versions 0.1.0 through 0.7.0a2 allows unauthenti

CVE-2026-30623 CRITICAL POC
9.8 Jul 15

Command injection in LiteLLM 1.18.10 lets attackers who can configure MCP (Model Context Protocol) servers supply arbitr

CVE-2026-67917 CRITICAL POC
9.8 Aug 17

SQL injection in AzuraCast's backup restore flow (versions up to and including 0.23.7) lets an attacker achieve privileg

CVE-2026-75337 CRITICAL POC
9.8 Aug 27

Arbitrary file read in Yu AI Code Mother v4.3 lets anonymous, remote attackers retrieve files outside the intended previ

CVE-2026-31072 CRITICAL POC
9.8 May 19

Remote code execution in APScheduler (all versions through 3.10.x and 4.0.0a5) is achievable when applications deseriali

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