{"schema_version":1,"title":"sanitize-html (npm) vulnerabilities","summary":"Junglewise Threat Intelligence has tracked 13 vulnerabilities in sanitize-html (npm): 0 in the last 7 days and 2 in the last 90 days, 1 of them critical and 0 exploited in the wild. The most recent, CVE-2026-84371, was published on 1 September 2026.","url":"https://junglewise.ai/threats/technologies/sanitize-html","json_url":"https://junglewise.ai/threats/technologies/sanitize-html.json","publisher":"Junglewise Threat Intelligence","license":"CC-BY-4.0","license_url":"https://creativecommons.org/licenses/by/4.0/","attribution":"Junglewise Threat Intelligence, https://junglewise.ai/threats/technologies/sanitize-html","sources":"NVD, GitHub Security Advisories, OSV, the CISA Known Exploited Vulnerabilities catalog, FIRST EPSS and vendor advisories","kind":"technology","counts":{"high":0,"all_time":13,"critical":1,"exploited":0,"last_7_days":0,"last_30_days":1,"last_90_days":2,"last_365_days":5},"latest":[{"cve":"CVE-2026-84371","cvss":5.4,"epss":0.003,"slug":"cve-2026-84371-sanitize-html-stored-xss-via-svg-smil-uri-list-scheme-bypass","title":"ApostropheCMS is an open-source Node.js content management system, and sanitize-html provides a simple HTML sanitizer with a clear API. From","severity":"medium","exploited":false,"published_at":"2026-09-01T21:18:48.357+00:00","url":"https://junglewise.ai/threats/cve-2026-84371-sanitize-html-stored-xss-via-svg-smil-uri-list-scheme-bypass"},{"cve":"CVE-2026-63670","cvss":6.1,"epss":0.0033,"slug":"cve-2026-63670-sanitize-html-xss-bypass-via-textarea-solidus-close-tag","title":"ApostropheCMS is an open-source Node.js content management system. Prior to 2.17.6, sanitizeHtml() can pass disallowed executable markup thr","severity":"medium","exploited":false,"published_at":"2026-08-17T20:16:45+00:00","url":"https://junglewise.ai/threats/cve-2026-63670-sanitize-html-xss-bypass-via-textarea-solidus-close-tag"},{"cve":"CVE-2026-53606","cvss":5.4,"epss":0.0023,"slug":"cve-2026-53606-apostrophecms-sanitize-html-xss-via-incomplete-uri-scheme","title":"ApostropheCMS sanitize-html XSS via incomplete URI scheme validation","severity":"medium","exploited":false,"published_at":"2026-06-12T21:16:24.093+00:00","url":"https://junglewise.ai/threats/cve-2026-53606-apostrophecms-sanitize-html-xss-via-incomplete-uri-scheme"},{"cve":"CVE-2026-44990","cvss":9.3,"epss":0.007,"slug":"cve-2026-44990-apostrophecms-sanitize-html-xss-bypass-via-xmp-element","title":"ApostropheCMS sanitize-html XSS bypass via xmp element","severity":"critical","exploited":false,"published_at":"2026-06-12T21:16:22.447+00:00","url":"https://junglewise.ai/threats/cve-2026-44990-apostrophecms-sanitize-html-xss-bypass-via-xmp-element"},{"cve":"CVE-2026-40186","cvss":6.1,"epss":0.0028,"slug":"cve-2026-40186-apostrophe-sanitize-html-allowedtags-bypass-in-textarea-and","title":"Apostrophe sanitize-html allowedTags bypass in textarea and option tags","severity":"medium","exploited":false,"published_at":"2026-04-16T21:08:29+00:00","url":"https://junglewise.ai/threats/cve-2026-40186-apostrophe-sanitize-html-allowedtags-bypass-in-textarea-and"},{"cve":"CVE-2019-25225","cvss":3.1,"epss":0.0027,"slug":"cve-2019-25225-sanitize-html-xss-vulnerability-in-custom-transformtags","title":"sanitize-html XSS vulnerability in custom transformTags","severity":"low","exploited":false,"published_at":"2025-09-08T12:30:33+00:00","url":"https://junglewise.ai/threats/cve-2019-25225-sanitize-html-xss-vulnerability-in-custom-transformtags"},{"cve":"CVE-2024-21501","cvss":3.1,"epss":0.0103,"slug":"cve-2024-21501-sanitize-html-information-exposure-via-style-attribute","title":"sanitize-html information exposure via style attribute","severity":"low","exploited":false,"published_at":"2024-02-24T06:30:17+00:00","url":"https://junglewise.ai/threats/cve-2024-21501-sanitize-html-information-exposure-via-style-attribute"},{"cve":"CVE-2022-25887","cvss":3.1,"epss":0.0145,"slug":"cve-2022-25887-sanitize-html-regular-expression-denial-of-service","title":"sanitize-html Regular Expression Denial of Service","severity":"low","exploited":false,"published_at":"2022-08-31T00:00:24+00:00","url":"https://junglewise.ai/threats/cve-2022-25887-sanitize-html-regular-expression-denial-of-service"},{"cve":"CVE-2021-26540","cvss":3.1,"epss":0.0175,"slug":"cve-2021-26540-apostrophe-sanitize-html-hostname-whitelist-bypass-in-iframe","title":"Apostrophe sanitize-html hostname whitelist bypass in iframe validation","severity":"low","exploited":false,"published_at":"2021-05-06T16:10:19+00:00","url":"https://junglewise.ai/threats/cve-2021-26540-apostrophe-sanitize-html-hostname-whitelist-bypass-in-iframe"},{"cve":"CVE-2021-26539","cvss":3.1,"epss":0.0195,"slug":"cve-2021-26539-apostrophe-sanitize-html-idn-bypass-in-allowediframehostnames","title":"Apostrophe sanitize-html IDN bypass in allowedIframeHostnames","severity":"low","exploited":false,"published_at":"2021-05-06T16:10:05+00:00","url":"https://junglewise.ai/threats/cve-2021-26539-apostrophe-sanitize-html-idn-bypass-in-allowediframehostnames"},{"cve":"CVE-2016-1000237","cvss":3.1,"slug":"cve-2016-1000237-apostrophecms-sanitize-html-cross-site-scripting-via-non","title":"ApostropheCMS sanitize-html Cross-Site Scripting via non-recursive filtering","severity":"low","exploited":false,"published_at":"2020-04-16T03:14:47+00:00","url":"https://junglewise.ai/threats/cve-2016-1000237-apostrophecms-sanitize-html-cross-site-scripting-via-non"},{"cve":"CVE-2017-16016","cvss":6.1,"epss":0.0136,"slug":"cve-2017-16016-sanitize-html-cross-site-scripting-via-nontexttags","title":"sanitize-html cross-site scripting via nonTextTags","severity":"info","exploited":false,"published_at":"2018-11-09T17:47:23+00:00","url":"https://junglewise.ai/threats/cve-2017-16016-sanitize-html-cross-site-scripting-via-nontexttags"},{"cve":"CVE-2017-16017","cvss":3,"epss":0.0119,"slug":"cve-2017-16017-sanitize-html-cross-site-scripting","title":"sanitize-html cross-site scripting","severity":"low","exploited":false,"published_at":"2018-11-09T17:45:55+00:00","url":"https://junglewise.ai/threats/cve-2017-16017-sanitize-html-cross-site-scripting"}],"weekly":[{"week":"2026-06-29","critical":0,"exploited":0,"vulnerabilities":0},{"week":"2026-07-06","critical":0,"exploited":0,"vulnerabilities":0},{"week":"2026-07-13","critical":0,"exploited":0,"vulnerabilities":0},{"week":"2026-07-20","critical":0,"exploited":0,"vulnerabilities":0},{"week":"2026-07-27","critical":0,"exploited":0,"vulnerabilities":0},{"week":"2026-08-03","critical":0,"exploited":0,"vulnerabilities":0},{"week":"2026-08-10","critical":0,"exploited":0,"vulnerabilities":0},{"week":"2026-08-17","critical":0,"exploited":0,"vulnerabilities":1},{"week":"2026-08-24","critical":0,"exploited":0,"vulnerabilities":0},{"week":"2026-08-31","critical":0,"exploited":0,"vulnerabilities":1},{"week":"2026-09-07","critical":0,"exploited":0,"vulnerabilities":0},{"week":"2026-09-14","critical":0,"exploited":0,"vulnerabilities":0},{"week":"2026-09-21","critical":0,"exploited":0,"vulnerabilities":0}],"related":[{"name":"flowise (npm)","slug":"flowise","vulnerabilities":156,"url":"https://junglewise.ai/threats/technologies/flowise"},{"name":"vm2 (npm)","slug":"vm2","vulnerabilities":82,"url":"https://junglewise.ai/threats/technologies/vm2"},{"name":"@budibase/server (npm)","slug":"budibase-server","vulnerabilities":61,"url":"https://junglewise.ai/threats/technologies/budibase-server"},{"name":"directus (npm)","slug":"directus","vulnerabilities":60,"url":"https://junglewise.ai/threats/technologies/directus"},{"name":"nocodb (npm)","slug":"nocodb","vulnerabilities":55,"url":"https://junglewise.ai/threats/technologies/nocodb"},{"name":"hono (npm)","slug":"hono","vulnerabilities":54,"url":"https://junglewise.ai/threats/technologies/hono"},{"name":"parse-server (npm)","slug":"parse-server","vulnerabilities":42,"url":"https://junglewise.ai/threats/technologies/parse-server"},{"name":"dompurify (npm)","slug":"dompurify","vulnerabilities":39,"url":"https://junglewise.ai/threats/technologies/dompurify"},{"name":"ghost (npm)","slug":"ghost","vulnerabilities":39,"url":"https://junglewise.ai/threats/technologies/ghost"},{"name":"flowise-components (npm)","slug":"flowise-components","vulnerabilities":35,"url":"https://junglewise.ai/threats/technologies/flowise-components"},{"name":"astro (npm)","slug":"astro","vulnerabilities":30,"url":"https://junglewise.ai/threats/technologies/astro"},{"name":"@anthropic-ai/claude-code (npm)","slug":"anthropic-ai-claude-code","vulnerabilities":28,"url":"https://junglewise.ai/threats/technologies/anthropic-ai-claude-code"}],"technology":{"hub":true,"name":"sanitize-html (npm)","slug":"sanitize-html","vendor":{"name":"npm","slug":"npm","url":"https://junglewise.ai/threats/vendors/npm"},"aliases":[],"category":"library","description":"An npm library for sanitizing HTML to prevent XSS attacks by removing potentially dangerous elements and attributes.","url":"https://junglewise.ai/threats/technologies/sanitize-html"},"most_severe":[{"cve":"CVE-2026-44990","cvss":9.3,"epss":0.007,"slug":"cve-2026-44990-apostrophecms-sanitize-html-xss-bypass-via-xmp-element","title":"ApostropheCMS sanitize-html XSS bypass via xmp element","severity":"critical","exploited":false,"published_at":"2026-06-12T21:16:22.447+00:00","url":"https://junglewise.ai/threats/cve-2026-44990-apostrophecms-sanitize-html-xss-bypass-via-xmp-element"},{"cve":"CVE-2026-63670","cvss":6.1,"epss":0.0033,"slug":"cve-2026-63670-sanitize-html-xss-bypass-via-textarea-solidus-close-tag","title":"ApostropheCMS is an open-source Node.js content management system. Prior to 2.17.6, sanitizeHtml() can pass disallowed executable markup thr","severity":"medium","exploited":false,"published_at":"2026-08-17T20:16:45+00:00","url":"https://junglewise.ai/threats/cve-2026-63670-sanitize-html-xss-bypass-via-textarea-solidus-close-tag"},{"cve":"CVE-2026-40186","cvss":6.1,"epss":0.0028,"slug":"cve-2026-40186-apostrophe-sanitize-html-allowedtags-bypass-in-textarea-and","title":"Apostrophe sanitize-html allowedTags bypass in textarea and option tags","severity":"medium","exploited":false,"published_at":"2026-04-16T21:08:29+00:00","url":"https://junglewise.ai/threats/cve-2026-40186-apostrophe-sanitize-html-allowedtags-bypass-in-textarea-and"},{"cve":"CVE-2026-84371","cvss":5.4,"epss":0.003,"slug":"cve-2026-84371-sanitize-html-stored-xss-via-svg-smil-uri-list-scheme-bypass","title":"ApostropheCMS is an open-source Node.js content management system, and sanitize-html provides a simple HTML sanitizer with a clear API. From","severity":"medium","exploited":false,"published_at":"2026-09-01T21:18:48.357+00:00","url":"https://junglewise.ai/threats/cve-2026-84371-sanitize-html-stored-xss-via-svg-smil-uri-list-scheme-bypass"},{"cve":"CVE-2026-53606","cvss":5.4,"epss":0.0023,"slug":"cve-2026-53606-apostrophecms-sanitize-html-xss-via-incomplete-uri-scheme","title":"ApostropheCMS sanitize-html XSS via incomplete URI scheme validation","severity":"medium","exploited":false,"published_at":"2026-06-12T21:16:24.093+00:00","url":"https://junglewise.ai/threats/cve-2026-53606-apostrophecms-sanitize-html-xss-via-incomplete-uri-scheme"},{"cve":"CVE-2021-26539","cvss":3.1,"epss":0.0195,"slug":"cve-2021-26539-apostrophe-sanitize-html-idn-bypass-in-allowediframehostnames","title":"Apostrophe sanitize-html IDN bypass in allowedIframeHostnames","severity":"low","exploited":false,"published_at":"2021-05-06T16:10:05+00:00","url":"https://junglewise.ai/threats/cve-2021-26539-apostrophe-sanitize-html-idn-bypass-in-allowediframehostnames"},{"cve":"CVE-2021-26540","cvss":3.1,"epss":0.0175,"slug":"cve-2021-26540-apostrophe-sanitize-html-hostname-whitelist-bypass-in-iframe","title":"Apostrophe sanitize-html hostname whitelist bypass in iframe validation","severity":"low","exploited":false,"published_at":"2021-05-06T16:10:19+00:00","url":"https://junglewise.ai/threats/cve-2021-26540-apostrophe-sanitize-html-hostname-whitelist-bypass-in-iframe"},{"cve":"CVE-2022-25887","cvss":3.1,"epss":0.0145,"slug":"cve-2022-25887-sanitize-html-regular-expression-denial-of-service","title":"sanitize-html Regular Expression Denial of Service","severity":"low","exploited":false,"published_at":"2022-08-31T00:00:24+00:00","url":"https://junglewise.ai/threats/cve-2022-25887-sanitize-html-regular-expression-denial-of-service"},{"cve":"CVE-2024-21501","cvss":3.1,"epss":0.0103,"slug":"cve-2024-21501-sanitize-html-information-exposure-via-style-attribute","title":"sanitize-html information exposure via style attribute","severity":"low","exploited":false,"published_at":"2024-02-24T06:30:17+00:00","url":"https://junglewise.ai/threats/cve-2024-21501-sanitize-html-information-exposure-via-style-attribute"},{"cve":"CVE-2019-25225","cvss":3.1,"epss":0.0027,"slug":"cve-2019-25225-sanitize-html-xss-vulnerability-in-custom-transformtags","title":"sanitize-html XSS vulnerability in custom transformTags","severity":"low","exploited":false,"published_at":"2025-09-08T12:30:33+00:00","url":"https://junglewise.ai/threats/cve-2019-25225-sanitize-html-xss-vulnerability-in-custom-transformtags"}],"generated_at":"2026-09-26T10:14:00.201383+00:00"}