'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
                    Fri, 19 Sep 2025 15:15:00 +0000
| Type | Values Removed | Values Added | 
|---|---|---|
| CPEs | cpe:2.3:a:apostrophecms:sanitize-html:*:*:*:*:*:node.js:*:* | 
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 
 | 
 MITRE
                        MITRE
                    Status: PUBLISHED
Assigner: Checkmarx
Published: 2025-09-08T10:09:25.057Z
Updated: 2025-09-08T13:43:33.555Z
Reserved: 2025-09-05T16:03:10.884Z
Link: CVE-2014-125128
 Vulnrichment
                        Vulnrichment
                    Updated: 2025-09-08T13:43:29.203Z
 NVD
                        NVD
                    Status : Analyzed
Published: 2025-09-08T11:15:30.063
Modified: 2025-09-19T15:14:35.680
Link: CVE-2014-125128
 Redhat
                        Redhat
                    No data.