Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-53606— sanitize-html has an incomplete URI scheme validation that allows javascript: URIs through action, formaction, data, poster, and background attributes

Quick assessment

Affected
apostrophecms sanitize-html
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

apostrophecms是Apostrophecms公司开源的一个内容管理系统。 ApostropheCMS 2.17.5之前版本存在跨站脚本漏洞,该漏洞源于allowedSchemesAppliedToAttributes(默认:['href', 'src', 'cite'])未能包含HTML规范定义的action、formaction等10+个接受URI的属性,当开发者配置允许这些属性时,javascript等危险URI方案完全通过,导致跨站脚本攻击。

CVSS 5.4 · Medium EPSS 0.23% · P12

Affected Version Matrix 1

VendorProduct Version RangeStatus
apostrophecms sanitize-html < 2.17.5 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-53606

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
sanitize-html has an incomplete URI scheme validation that allows javascript: URIs through action, formaction, data, poster, and background attributes
Source: CVE Program / CVE List V5
Vulnerability Description
ApostropheCMS is an open-source Node.js content management system, and sanitize-html provides a simple HTML sanitizer with a clear API. Versions of sanitize-html prior to 2.17.5 use `allowedSchemesAppliedToAttributes` (default: `['href', 'src', 'cite']`) to gate the `naughtyHref()` function that blocks dangerous URI schemes like `javascript:` and `vbscript:`. The HTML specification defines 10+ attributes that accept URIs (`action`, `formaction`, `data`, `poster`, `background`, `ping`, `xlink:href`, `dynsrc`, `lowsrc`), but none of these are included in the default gate list. When a developer allows any of these attributes in their configuration, `javascript:` URIs pass through completely unmodified, enabling XSS. Version 2.17.5 patches the issue.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
Source: CVE Program / CVE List V5
Vulnerability Type
在Web页面生成时对输入的转义处理不恰当(跨站脚本)
Source: CVE Program / CVE List V5
Vulnerability Title
ApostropheCMS 跨站脚本漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
apostrophecms是Apostrophecms公司开源的一个内容管理系统。 ApostropheCMS 2.17.5之前版本存在跨站脚本漏洞,该漏洞源于allowedSchemesAppliedToAttributes(默认:['href', 'src', 'cite'])未能包含HTML规范定义的action、formaction等10+个接受URI的属性,当开发者配置允许这些属性时,javascript等危险URI方案完全通过,导致跨站脚本攻击。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
apostrophecms sanitize-html < 2.17.5 -

II. Public POCs for CVE-2026-53606

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-53606

请登录查看更多情报信息。

Vendor Advisories for CVE-2026-53606 (1)

Same Patch Batch · apostrophecms · 2026-06-12 · 10 CVEs total

CVE-2026-44990 9.3 CRITICAL Apostrophe has default XSS via `xmp` raw-text passthrough in `sanitize-html`
CVE-2026-53609 9.1 CRITICAL Apostrophe has Server-Side Prototype Pollution in apos.util.set via patch operators that l
CVE-2026-53608 8.7 HIGH @apostrophecms/seo Vulnerable to Stored XSS via Unsanitized Google Analytics / GTM ID Inje
CVE-2026-45013 8.1 HIGH Apostrophe has a Weak Password Recovery Mechanism for Forgotten Password and Improper Inpu
CVE-2026-45012 7.6 HIGH Apostrophe has authenticated SSRF in rich-text widget import via @apostrophecms/area/valid
CVE-2026-45011 7.3 HIGH Apostrophe has stored XSS via javascript: URL in Image Widget Link
CVE-2026-42853 6.5 MEDIUM @apostrophecms/cli: Command Injection in apos create via Unsanitized Password Input
CVE-2026-53607 3.7 LOW @apostrophecms/file pretty-URL Vulnerable to Unauthenticated SSRF via Host header
CVE-2026-45014 Apostrophe Vulnerable to Stored Cross-Site Scripting via Unsanitized User Display Name in

IV. Related Vulnerabilities

V. Comments for CVE-2026-53606

No comments yet


Leave a comment