{"resultsPerPage":1,"startIndex":0,"totalResults":1,"format":"NVD_CVE","version":"2.0","timestamp":"2026-06-16T17:12:42.288","vulnerabilities":[{"cve":{"id":"CVE-2019-25225","sourceIdentifier":"596c5446-0ce5-4ba2-aa66-48b3b757a647","published":"2025-09-08T10:15:33.440","lastModified":"2025-09-19T15:18:42.913","vulnStatus":"Analyzed","cveTags":[],"descriptions":[{"lang":"en","value":"`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."}],"metrics":{"cvssMetricV31":[{"source":"596c5446-0ce5-4ba2-aa66-48b3b757a647","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","baseScore":6.1,"baseSeverity":"MEDIUM","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"REQUIRED","scope":"CHANGED","confidentialityImpact":"LOW","integrityImpact":"LOW","availabilityImpact":"NONE"},"exploitabilityScore":2.8,"impactScore":2.7}]},"weaknesses":[{"source":"596c5446-0ce5-4ba2-aa66-48b3b757a647","type":"Secondary","description":[{"lang":"en","value":"CWE-79"}]}],"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:apostrophecms:sanitize-html:*:*:*:*:*:node.js:*:*","versionEndExcluding":"2.0.0","matchCriteriaId":"925E3440-F8B9-425C-86C2-3E3A2C1B7B27"}]}]}],"references":[{"url":"https://github.com/Checkmarx/Vulnerabilities-Proofs-of-Concept/tree/main/2019/CVE-2019-25225","source":"596c5446-0ce5-4ba2-aa66-48b3b757a647","tags":["Exploit","Third Party Advisory"]},{"url":"https://github.com/apostrophecms/sanitize-html/commit/712cb6895825c8bb6ede71a16b42bade42abcaf3","source":"596c5446-0ce5-4ba2-aa66-48b3b757a647","tags":["Patch"]},{"url":"https://github.com/apostrophecms/sanitize-html/issues/293","source":"596c5446-0ce5-4ba2-aa66-48b3b757a647","tags":["Issue Tracking","Vendor Advisory"]},{"url":"https://github.com/apostrophecms/sanitize-html/pull/156","source":"596c5446-0ce5-4ba2-aa66-48b3b757a647","tags":["Issue Tracking","Patch"]}]}}]}