CVE-2014-125128
Last modified
CVE-2014-125128 is a medium-severity vulnerability rated 6.1/10 on the CVSS scale. '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.. EPSS estimates a 0.26% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Apostrophecms | Sanitize-Html | < 1.0.3 |
References
- https://github.com/Checkmarx/Vulnerabilities-Proofs-of-Concept/tree/main/2014/CVE-2014-125128Exploit, Third Party Advisory
- https://github.com/apostrophecms/sanitize-html/issues/1Issue Tracking, Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2014-125128?
How severe is CVE-2014-125128?
How do I fix CVE-2014-125128?
Are you affected by CVE-2014-125128?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
