{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2019-25225","published":"2025-09-08T10:15:33.440000Z","last_modified":"2026-06-17T02:31:47.607000Z","status":"Analyzed","cvss":{"version":"3.1","score":6.1,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","source":"596c5446-0ce5-4ba2-aa66-48b3b757a647","primary":false},"auth":false,"cwes":["CWE-79"],"cpes":[{"criteria":"cpe:2.3:a:apostrophecms:sanitize-html:*:*:*:*:*:node.js:*:*","part":"a","vendor":"apostrophecms","product":"sanitize-html","version_end_excluding":"2.0.0"}],"cpes_truncated":false,"vendors":["apostrophecms"],"products":["apostrophecms/sanitize-html"],"ssvc":{"exploitation":"poc","automatable":"no","technical_impact":"partial"},"epss":{"score":0.00297,"percentile":0.24041,"date":"2026-12-01","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-qhxp-v273-g94h","ecosystem":"npm","name":"sanitize-html","purl":"pkg:npm/sanitize-html","ranges":[{"introduced":"0","fixed":"2.0.0-beta"}],"versions":[],"versions_truncated":false}],"severity":"medium","priority_score":52,"links":{"html_es":"/es/cve/CVE-2019-25225/","html_en":"/en/cve/CVE-2019-25225/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2019-25225","cve_org":"https://www.cve.org/CVERecord?id=CVE-2019-25225"},"untrusted":{"vendor_name":"Apostrophecms","product_name":"Sanitize-html","desc_en":"`sanitize-html` prior to version 2.0.0-beta is vulnerable to Cross-site Scripting (XSS). The `sanitizeHtml()` function in `index.js` does not sanitize content when using the custom `transformTags` option, which is intended to convert attribute values into text. As a result, malicious input can be transformed into executable code.","affected":[],"references":[{"url":"https://github.com/Checkmarx/Vulnerabilities-Proofs-of-Concept/tree/main/2019/CVE-2019-25225","tags":["Exploit","Third Party Advisory"]},{"url":"https://github.com/apostrophecms/sanitize-html/commit/712cb6895825c8bb6ede71a16b42bade42abcaf3","tags":["Patch"]},{"url":"https://github.com/apostrophecms/sanitize-html/issues/293","tags":["Issue Tracking","Vendor Advisory"]},{"url":"https://github.com/apostrophecms/sanitize-html/pull/156","tags":["Issue Tracking","Patch"]}]}}