{ "dataType": "CVE_RECORD", "dataVersion": "5.1", "cveMetadata": { "cveId": "CVE-2014-125128", "assignerOrgId": "596c5446-0ce5-4ba2-aa66-48b3b757a647", "state": "PUBLISHED", "assignerShortName": "Checkmarx", "dateReserved": "2025-09-05T16:03:10.884Z", "datePublished": "2025-09-08T10:09:25.057Z", "dateUpdated": "2025-09-08T13:43:33.555Z" }, "containers": { "cna": { "affected": [ { "collectionURL": "https://registry.npmjs.org", "defaultStatus": "unaffected", "packageName": "sanitize-html", "versions": [ { "lessThan": "1.0.3", "status": "affected", "version": "0", "versionType": "npm" } ] } ], "credits": [ { "lang": "en", "type": "finder", "value": "Christian Silver (Pinpickle)" } ], "descriptions": [ { "lang": "en", "supportingMedia": [ { "base64": false, "type": "text/html", "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.