CVE-2014-125128
Reported by checkmarx · Published September 8, 2025
sanitize-html is fixed in 1.0.3 (npm)
'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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| sanitize-html | npm | 1.0.3 |
| sanitize-html | apostrophecms | 1.0.3 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| 0 | ||
| 0 |
Timeline
- Sep 8, 2025 EPSS Score (30 in total, the first dated here)
- Sep 8, 2025 CVE Published
- Sep 8, 2025 PoC Published
- Sep 8, 2025 CVE Updated
- Apr 2, 2026 Security Advisory
- Oct 20, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2014-125128
vulnetix vdb fixes CVE-2014-125128
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2014-125128/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart