CVE-2014-125128 '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>), allow...
MediumCVSS 6.1
EPSS 0.29%
- Published
- Updated
- Exploit status
- No public exploit known
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.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| ubuntu/node-sanitize-html(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/node-sanitize-html(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/node-sanitize-html(Ubuntu:26.10) | All versions | No fix listed |
| apostrophecms sanitize-html | < 1.0.3 | 1.0.3 |
| npm sanitize-html(npm) | < 1.0.3 | 1.0.3 |
| ubuntu/node-sanitize-html(Ubuntu:22.04) | All versions | No fix listed |
References
- Ubuntu CVE tracker vendor-advisory
- www.cve.org
- github.com exploit third-party-advisory
- github.com patch
- github.com patch
- github.com issue-tracking vendor-advisory
- Debian Security Tracker CVE-2014-125128 vendor-advisory