'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
Affected Vendors & Products
References
History
Mon, 08 Sep 2025 15:30:00 +0000
Type | Values Removed | Values Added |
---|---|---|
First Time appeared |
Apostrophecms
Apostrophecms sanitize-html |
|
Vendors & Products |
Apostrophecms
Apostrophecms sanitize-html |
Mon, 08 Sep 2025 14:15:00 +0000
Type | Values Removed | Values Added |
---|---|---|
Metrics |
ssvc
|
Mon, 08 Sep 2025 10:30:00 +0000
Type | Values Removed | Values Added |
---|---|---|
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. | |
Weaknesses | CWE-79 | |
References |
|
|
Metrics |
cvssV3_1
|

Status: PUBLISHED
Assigner: Checkmarx
Published:
Updated: 2025-09-08T13:43:33.555Z
Reserved: 2025-09-05T16:03:10.884Z
Link: CVE-2014-125128

Updated: 2025-09-08T13:43:29.203Z

Status : Received
Published: 2025-09-08T11:15:30.063
Modified: 2025-09-08T11:15:30.063
Link: CVE-2014-125128

No data.

Updated: 2025-09-08T15:17:25Z