{"id":"CVE-2014-125128","aliases":["CVE-2014-125128"],"related":[],"kind":"vulnerability","state":"published","title":"'sanitize-html' prior to version 1.0.3 is vulnerable to Cross-site Scripting (XSS).","summary":"'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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"'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.","source":"cvelist"}],"published":"2025-09-08T10:09:25.057Z","modified":"2026-06-17T00:04:31.050Z","severity":{"scorer":"Checkmarx","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"},"severities":[{"scorer":"Checkmarx","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"type":"npm","introduced":"0","fixed":"1.0.3","status":"affected"}],"package":"sanitize-html","source":"cvelist"},{"ranges":[{"status":"affected","fixed":"1.0.3"}],"vendor":"apostrophecms","product":"sanitize-html","cpe":"cpe:2.3:a:apostrophecms:sanitize-html:*:*:*:*:*:node.js:*:*","source":"nvd"}],"references":[{"url":"https://github.com/apostrophecms/sanitize-html/issues/1","tags":["issue-tracking","vendor-advisory"],"sources":["cvelist","nvd"]},{"url":"https://github.com/apostrophecms/sanitize-html/commit/889d4ec968e175f1905b2eb9d33f1fa89217cb02","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://github.com/apostrophecms/sanitize-html/commit/423b90e06e1e85245eccedaabeb3a82840c6cd86","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://github.com/Checkmarx/Vulnerabilities-Proofs-of-Concept/tree/main/2014/CVE-2014-125128","tags":["exploit","third-party-advisory"],"sources":["cvelist","nvd"]}],"credits":["Christian Silver (Pinpickle)"],"assigner":"Checkmarx","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"partial","date":"2025-09-08T13:43:13.698Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2014-125128","url":"https://www.cve.org/CVERecord?id=CVE-2014-125128","licence":"CVE Terms of Use","modified":"2025-09-08T13:43:33.555Z"},{"source":"nvd","name":"NVD","id":"CVE-2014-125128","url":"https://nvd.nist.gov/vuln/detail/CVE-2014-125128","licence":"Public domain","modified":"2026-06-17T00:04:31.050Z"}],"updatedAt":"2026-11-25T22:57:21.800Z","epss":{"score":0.00303,"percentile":0.2478,"date":"2026-12-01T12:00:22.000Z"}}