← Vulnerability feed

Vulnerability record · CVE-2014-125128 · published 8 September 2025

CVE-2014-125128: Apostrophecms sanitize-html cross-site scripting vulnerability

Apostrophecms · Sanitize Html

'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.

6.1 CVSS 3.1 Medium EPSS 0.27% · top 82.2% CWE-79 · Cross-site scripting
6.1CVSS 3.1 base score
0.27%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
4References, 1 tagged exploit
17 Jun 2026Last modified by NVD

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.

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Affected products

1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2014-125128 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

7.5CVE-2022-25887Apostrophecms sanitize-html inefficient regular expression (redos) vulnerabilityThe package sanitize-html before 2.7.1 are vulnerable to Regular Expression Denial of Service (ReDoS) due to insecure global regular expression repla…EPSS 1.5%6.1CVE-2026-40186Apostrophecms cross-site scripting vulnerabilityApostropheCMS is an open-source Node.js content management system. A regression introduced in commit 49d0bb7, included in versions 2.17.1 of the Apos…EPSS 0.28%6.1CVE-2019-25225Apostrophecms sanitize-html cross-site scripting vulnerability`sanitize-html` prior to version 2.0.0-beta is vulnerable to Cross-site Scripting (XSS). The `sanitizeHtml()` function in `index.js` does not sanitiz…EPSS 0.27%6.1CVE-2016-1000237Apostrophecms sanitize-html cross-site scripting vulnerabilitysanitize-html before 1.4.3 has XSS.EPSS 0.84%5.3CVE-2024-21501Apostrophecms sanitize-html information exposure vulnerabilityVersions of the package sanitize-html before 2.12.1 are vulnerable to Information Exposure when used on the backend and with the style attribute allo…EPSS 1.0%5.3CVE-2021-26539Apostrophecms sanitize-html vulnerabilityApostrophe Technologies sanitize-html before 2.3.1 does not properly handle internationalized domain name (IDN) which could allow an attacker to bypa…EPSS 2.0%5.3CVE-2021-26540Apostrophecms sanitize-html vulnerabilityApostrophe Technologies sanitize-html before 2.3.2 does not properly validate the hostnames set by the "allowedIframeHostnames" option when the "allo…EPSS 1.8%6.1CVE-2026-42897Microsoft Exchange Server XSS enables spoofingMicrosoft Exchange Server and Exchange Server Subscription Edition fail to neutralize input during web page generation, a cross-site scripting flaw (…KEVEPSS 0.52%analysed

Source: NIST National Vulnerability Database (record CVE-2014-125128), CISA KEV, FIRST EPSS (scores of 2026-09-27). This page is refreshed as NVD updates the record.