{"id":79685,"date":"2026-06-13T00:20:47","date_gmt":"2026-06-12T20:50:47","guid":{"rendered":"https:\/\/afaghhosting.net\/blog\/cve-2026-53606-sanitize-html-has-an-incomplete-uri-scheme-validation-that-allows-javascript-uris-through-action-formaction-data-poster-and-background-attributes\/"},"modified":"2026-06-13T00:20:47","modified_gmt":"2026-06-12T20:50:47","slug":"cve-2026-53606-sanitize-html-has-an-incomplete-uri-scheme-validation-that-allows-javascript-uris-through-action-formaction-data-poster-and-background-attributes","status":"publish","type":"post","link":"https:\/\/afaghhosting.net\/blog\/cve-2026-53606-sanitize-html-has-an-incomplete-uri-scheme-validation-that-allows-javascript-uris-through-action-formaction-data-poster-and-background-attributes\/","title":{"rendered":"CVE-2026-53606 &#8211; sanitize-html has an incomplete URI scheme validation that allows javascript: URIs through action, formaction, data, poster, and background attributes"},"content":{"rendered":"<p>CVE ID :CVE-2026-53606<\/p>\n<p>  Published : June 12, 2026, 8:50 p.m. | 33\u00a0minutes ago<\/p>\n<p>  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: `[&#8216;href&#8217;, &#8216;src&#8217;, &#8216;cite&#8217;]`) 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.<\/p>\n<p>  Severity: 0.0 | NA<\/p>\n<p>  Visit the link for more details, such as CVSS details, affected products, timeline, and more&#8230;\u00a0<\/p>\n","protected":false},"excerpt":{"rendered":"<p>CVE ID :CVE-2026-53606 Published : June 12, 2026, 8:50 p.m. | 33\u00a0minutes ago 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: `[&#8216;href&#8217;, &#8216;src&#8217;, &#8216;cite&#8217;]`) to gate the `naughtyHref()` function that blocks dangerous URI schemes &hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[26],"tags":[],"class_list":["post-79685","post","type-post","status-publish","format-standard","hentry","category-vulnerability"],"_links":{"self":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/79685","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/comments?post=79685"}],"version-history":[{"count":0,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/79685\/revisions"}],"wp:attachment":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/media?parent=79685"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/categories?post=79685"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/tags?post=79685"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}