{"id":"CVE-2014-125128","aliases":["EUVD-2014-9819","GHSA-389w-f784-rjg3","UBUNTU-CVE-2014-125128"],"status":"published","title":"'sanitize-html' prior to version 1.0.3 is vulnerable to Cross-site Scripting (XSS). The function ...","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 (`\u003ca\u003e`), allowing bypasses that contain different casings, whitespace characters, or hexadecimal encodings.","severity":{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-10","score":0.00285,"percentile":0.21227,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-79"],"published":"2025-09-08T10:09:25Z","modified":"2026-10-17T12:52:52Z","affected":[{"source":"osv","ecosystem":"Ubuntu:22.04:LTS","package":"node-sanitize-html","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.6.1-1"]},{"source":"osv","ecosystem":"Ubuntu:24.04:LTS","package":"node-sanitize-html","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.8.0+~2.6.2-1"]},{"source":"osv","ecosystem":"Ubuntu:25.10","package":"node-sanitize-html","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.14.0+~2.13.0-1"]},{"source":"osv","ecosystem":"Ubuntu:26.10","package":"node-sanitize-html","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.14.0+~2.13.0-1","2.17.0+~2.16.1-1"]},{"source":"osv","ecosystem":"Ubuntu:26.04:LTS","package":"node-sanitize-html","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.14.0+~2.13.0-1"]}],"products":[{"vendor":"apostrophecms","product":"sanitize-html"}],"references":[{"url":"https://github.com/apostrophecms/sanitize-html/issues/1","tags":["issue-tracking","Issue Tracking","Vendor Advisory","report"]},{"url":"https://github.com/apostrophecms/sanitize-html/commit/889d4ec968e175f1905b2eb9d33f1fa89217cb02","tags":["patch","Patch","report"]},{"url":"https://github.com/apostrophecms/sanitize-html/commit/423b90e06e1e85245eccedaabeb3a82840c6cd86","tags":["patch","Patch","report"]},{"url":"https://github.com/Checkmarx/Vulnerabilities-Proofs-of-Concept/tree/main/2014/CVE-2014-125128","tags":["exploit","Exploit","Third Party Advisory","report"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2014-125128"},{"url":"https://github.com/advisories/GHSA-389w-f784-rjg3"},{"url":"https://ubuntu.com/security/CVE-2014-125128","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2014-125128","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2014-125128","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 (`\u003ca\u003e`), allowing bypasses that contain different casings, whitespace characters, or hexadecimal encodings.","status":"published","published":"2025-09-08T10:09:25.057Z","modified":"2025-09-08T13:43:33.555Z","cvss":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"cna"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:33:42.219637Z"}],"euvd":[{"id":"EUVD-2014-9819","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 (`\u003ca\u003e`), allowing bypasses that contain different casings, whitespace characters, or hexadecimal encodings.","status":"published","published":"2025-09-08T10:09:25Z","modified":"2025-09-08T13:43:33Z","cvss":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"updated_at":"2026-11-02T20:31:46.507509Z"}],"ghsa":[{"id":"GHSA-389w-f784-rjg3","title":"'sanitize-html' prior to version 1.0.3 is vulnerable to Cross-site Scripting (XSS). The function ...","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 (`\u003ca\u003e`), allowing bypasses that contain different casings, whitespace characters, or hexadecimal encodings.","status":"published","published":"2025-09-08T12:30:33Z","modified":"2025-09-08T12:30:34Z","cvss":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T15:03:31.573808Z"}],"nvd":[{"id":"CVE-2014-125128","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 (`\u003ca\u003e`), allowing bypasses that contain different casings, whitespace characters, or hexadecimal encodings.","status":"published","published":"2025-09-08T11:15:30.063Z","modified":"2026-06-17T00:04:31.05Z","cvss":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"secondary"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:02:59.461996Z"}],"osv":[{"id":"UBUNTU-CVE-2014-125128","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 (`\u003ca\u003e`), allowing bypasses that contain different casings, whitespace characters, or hexadecimal encodings.","status":"published","published":"2025-09-08T11:15:00Z","modified":"2026-10-17T12:52:52.947367857Z","cvss":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"updated_at":"2026-11-02T15:54:07.855521Z"}]}}
