| Name | CVE-2014-125128 |
| 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. |
| Source | CVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
The table below lists information on source packages.
| Source Package | Release | Version | Status |
|---|---|---|---|
| node-sanitize-html (PTS) | bookworm | 2.8.0+~2.6.2-1 | fixed |
| forky, trixie | 2.14.0+~2.13.0-1 | fixed | |
| sid | 2.17.0+~2.16.1-1 | fixed |
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
|---|---|---|---|---|---|---|
| node-sanitize-html | source | (unstable) | (not affected) |
- node-sanitize-html <not-affected> (Fixed before initial upload to the archive)
https://github.com/apostrophecms/sanitize-html/issues/1
https://github.com/apostrophecms/sanitize-html/commit/889d4ec968e175f1905b2eb9d33f1fa89217cb02 (1.0.2)
https://github.com/apostrophecms/sanitize-html/commit/423b90e06e1e85245eccedaabeb3a82840c6cd86 (1.0.3)