{"id":"CVE-2014-125128","state":"PUBLISHED","title":"'sanitize-html' prior to version 1.0.3 is vulnerable to Cross-site Scripting (XSS). The function 'naughtyHref' doesn't properly validate the hyperreference (`href`) attribute in an","description":"'sanitize-html' prior to version 1.0.3 is vulnerable to Cross-site Scripting (XSS). The function 'naughtyHref' doesn't properly validate the hyperreference (`href`) attribute in anchor tags (`<a>`), allowing bypasses that contain different casings, whitespace characters, or hexadecimal encodings.","publishedAt":"2025-09-08T10:09:25.057Z","updatedAt":"2025-09-08T13:43:33.555Z","severity":{"score":6.1,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","source":"Checkmarx"},"assigner":"Checkmarx","products":["sanitize-html"],"affected":[{"packageName":"sanitize-html","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"1.0.3","versionType":"npm"}],"collectionURL":"https://registry.npmjs.org"}],"references":["https://github.com/apostrophecms/sanitize-html/issues/1","https://github.com/apostrophecms/sanitize-html/commit/889d4ec968e175f1905b2eb9d33f1fa89217cb02","https://github.com/apostrophecms/sanitize-html/commit/423b90e06e1e85245eccedaabeb3a82840c6cd86","https://github.com/Checkmarx/Vulnerabilities-Proofs-of-Concept/tree/main/2014/CVE-2014-125128"],"weaknesses":["CWE-79"],"ingestedAt":"2026-10-29T19:41:09.984Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2014/125xxx/CVE-2014-125128.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2014-125128","state":"PUBLISHED","datePublished":"2025-09-08T10:09:25.057Z","dateUpdated":"2025-09-08T13:43:33.555Z","assignerShortName":"Checkmarx","assignerOrgId":"596c5446-0ce5-4ba2-aa66-48b3b757a647","dateReserved":"2025-09-05T16:03:10.884Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"'sanitize-html' prior to version 1.0.3 is vulnerable to Cross-site Scripting (XSS). The function 'naughtyHref' doesn't properly validate the hyperreference (`href`) attribute in anchor tags (`<a>`), allowing bypasses that contain different casings, whitespace characters, or hexadecimal encodings."}],"affected":[{"packageName":"sanitize-html","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"1.0.3","versionType":"npm"}],"collectionURL":"https://registry.npmjs.org"}],"references":[{"url":"https://github.com/apostrophecms/sanitize-html/issues/1","tags":["issue-tracking"]},{"url":"https://github.com/apostrophecms/sanitize-html/commit/889d4ec968e175f1905b2eb9d33f1fa89217cb02","tags":["patch"]},{"url":"https://github.com/apostrophecms/sanitize-html/commit/423b90e06e1e85245eccedaabeb3a82840c6cd86","tags":["patch"]},{"url":"https://github.com/Checkmarx/Vulnerabilities-Proofs-of-Concept/tree/main/2014/CVE-2014-125128","tags":["exploit"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":6.1,"baseSeverity":"MEDIUM","confidentialityImpact":"LOW","integrityImpact":"LOW","privilegesRequired":"NONE","scope":"CHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","version":"3.1"},"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-79","description":"CWE-79 Improper Neutralization of Input During Web Page Generation (XSS or 'Cross-site Scripting')","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"Checkmarx","orgId":"596c5446-0ce5-4ba2-aa66-48b3b757a647","dateUpdated":"2025-09-08T10:09:25.057Z"},"credits":[{"lang":"en","type":"finder","value":"Christian Silver (Pinpickle)"}],"source":{"discovery":"UNKNOWN"},"x_generator":{"engine":"Vulnogram 0.2.0"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2025-09-08T13:43:13.698981Z","id":"CVE-2014-125128","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-09-08T13:43:33.555Z"}}]}}}