CVE-2014-125128: apostrophecms sanitize-html Cross-site Scripting
Vulnerability summary
CVE-2014-125128 is a medium (CVSS 6.1) Cross-site Scripting vulnerability in apostrophecms sanitize-html. EPSS estimates a 0.27% chance of exploitation in the next 30 days, higher than 18.7% of scored vulnerabilities. 1 public exploit is recorded.
Timeline
- 08-09-2025PublishedVulnerability first disclosed.
- 08-09-2025Last modifiedVulnerability information updated.
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 (`<a>`), allowing bypasses that contain different casings, whitespace characters, or hexadecimal encodings.
CVSS metrics
3 scores · 3 sources · 1 version- NVDNIST6.1MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- OSV · UbuntuEcosystem advisory · calculated6.1MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
EPSS trend
Probability
0.27%
Chance of exploitation in the next 30 days
Percentile
19%
Versus all other CVEs
30-day change
0.00 pp
From 0.27% on 21-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
1 foundVulnerabilities Proofs Of Concept
Maturity: poc
Weaknesses
CWE · root causeAffected systems
Apostrophecms1 product
- sanitize-html< 1.0.3
Ubuntu1 product
- node-sanitize-htmlAll versions (No fix recorded)
2 vendors · 2 products
References
6 links- github.com/Checkmarx/Vulnerabilities-Proofs-of-Concept/tree/main/2014/CVE-2014-125128ExploitThird Party AdvisoryREPORT