{"id":"CVE-2014-125128","sourceIdentifier":"596c5446-0ce5-4ba2-aa66-48b3b757a647","published":"2025-09-08T11:15:30.063","lastModified":"2026-06-17T00:04:31.050","vulnStatus":"Analyzed","cveTags":[],"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":[{"source":"596c5446-0ce5-4ba2-aa66-48b3b757a647","affectedData":[{"defaultStatus":"unaffected","collectionURL":"https://registry.npmjs.org","packageName":"sanitize-html","versions":[{"version":"0","lessThan":"1.0.3","versionType":"npm","status":"affected"}]}]}],"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}],"ssvcV203":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","ssvcData":{"timestamp":"2025-09-08T13:43:13.698981Z","id":"CVE-2014-125128","options":[{"exploitation":"poc"},{"automatable":"no"},{"technicalImpact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}]},"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":"1.0.3","matchCriteriaId":"D75FACDB-47EF-4431-A7BE-55CED5595E11"}]}]}],"references":[{"url":"https://github.com/Checkmarx/Vulnerabilities-Proofs-of-Concept/tree/main/2014/CVE-2014-125128","source":"596c5446-0ce5-4ba2-aa66-48b3b757a647","tags":["Exploit","Third Party Advisory"]},{"url":"https://github.com/apostrophecms/sanitize-html/commit/423b90e06e1e85245eccedaabeb3a82840c6cd86","source":"596c5446-0ce5-4ba2-aa66-48b3b757a647","tags":["Patch"]},{"url":"https://github.com/apostrophecms/sanitize-html/commit/889d4ec968e175f1905b2eb9d33f1fa89217cb02","source":"596c5446-0ce5-4ba2-aa66-48b3b757a647","tags":["Patch"]},{"url":"https://github.com/apostrophecms/sanitize-html/issues/1","source":"596c5446-0ce5-4ba2-aa66-48b3b757a647","tags":["Issue Tracking","Vendor Advisory"]}]}