Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-53606: CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in apostrophecms sanitize-html

0
Medium
VulnerabilityCVE-2026-53606cvecve-2026-53606cwe-79
Published: Fri Jun 12 2026 (06/12/2026, 20:50:47 UTC)
Source: CVE Database V5
Vendor/Project: apostrophecms
Product: sanitize-html

Description

ApostropheCMS's sanitize-html package versions prior to 2.17.5 have a cross-site scripting (XSS) vulnerability due to improper filtering of dangerous URI schemes in certain HTML attributes. The default configuration only applies URI scheme restrictions to a limited set of attributes, missing others that accept URIs. This allows malicious javascript: URIs to bypass sanitization when those attributes are allowed, enabling XSS attacks. Version 2.17.5 addresses this issue.

CVSS v3.1

Score 5.4medium

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
Required
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

Affected software

sanitize-html
pkg:npm/sanitize-html
Affected versions
<2.17.5

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 06/12/2026, 21:25:00 UTC

Technical Analysis

The sanitize-html library used by ApostropheCMS versions before 2.17.5 improperly neutralizes input during web page generation by not applying URI scheme restrictions to all HTML attributes that accept URIs. Specifically, attributes such as action, formaction, data, poster, background, ping, xlink:href, dynsrc, and lowsrc are not included in the default allowedSchemesAppliedToAttributes list. When developers permit these attributes, dangerous URI schemes like javascript: can pass through unmodified, resulting in cross-site scripting vulnerabilities. The issue is fixed in version 2.17.5.

Potential Impact

This vulnerability allows an attacker to inject malicious javascript: URIs into HTML attributes that are not properly sanitized, potentially leading to cross-site scripting attacks. Such attacks can result in limited confidentiality and integrity impacts, including execution of arbitrary scripts in the context of the affected web application. The CVSS 3.1 base score is 5.4 (medium severity) reflecting network attack vector, low attack complexity, low privileges required, user interaction needed, and partial confidentiality and integrity impact without availability impact.

Mitigation Recommendations

Upgrade sanitize-html to version 2.17.5 or later, where this vulnerability is patched. No other mitigations are indicated or recommended by the vendor advisory. Patch status is not explicitly stated but the version 2.17.5 is identified as the fixed version.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-06-09T19:39:52.404Z
Cvss Version
3.1
State
PUBLISHED
Remediation Level
null

Threat ID: 6a2c758ce617e2d834c30b80

Added to database: 6/12/2026, 9:09:32 PM

Last enriched: 6/12/2026, 9:25:00 PM

Last updated: 6/12/2026, 10:22:07 PM

Views: 5

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses