Predictive Vulnerability Intelligence.

Product

  • Product
  • Pricing
  • Documentation

Company

  • About
  • Partnerships
  • Blog
  • Support

Legal

  • Terms
  • Privacy
  • Data Licensing

© 2026 FAUCET Technologies LLC. All rights reserved.

CVE-2019-25225

22
FAUCET Score

CVE-2019-25225 is a Cross-site Scripting (XSS) vulnerability affecting sanitize-html versions prior to 2.0.0-beta, including apostrophecms sanitize_html. The vulnerability arises because the sanitizeHtml() function fails to properly sanitize content when the custom transformTags option is used, allowing malicious input to be converted into executable code. With a CVSS score of 6.1 (Medium), this vulnerability can be exploited remotely with low attack complexity, potentially leading to limited confidentiality and integrity impacts. There is currently no evidence of active exploitation, nor are there known public exploit codes or significant community discussion surrounding this CVE.

Impacted Technologies

VendorProductVersion(s)CPE
< 2.0.0CPE matchmatch criteria
cpe:2.3:a:apostrophecms:sanitize-html:*:*:*:*:*:node.js:*:*

CVSS Data

CVSS version used by this source: 3.1

6.1MEDIUM

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

Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
REQUIRED
Scope
CHANGED
Confidentiality Impact
LOW
Integrity Impact
LOW
Availability Impact
NONE
Exploitability Score
2.8
Impact Score
2.7
CvssVersion
3.1

Exploit Intelligence

EPSS Score
0.25%
Probability of exploitation in next 30 days
EPSS Percentile
16.5%
Percentile rank of EPSS score among Peer Group
As of 2026-07-26
Model: v2026.06.15
This CVE's current EPSS score of 0.0025 is in the 17th percentile among its peer group of 26,219 CVEs.

Social Chatter

The average CVE in this peer group has 0.0 Twitter, 0.0 Reddit, 0.1 Bluesky, 0.0 Mastodon, and 0.1 GitHub mentions.

Media Mentions

No media coverage found for this CVE.

The average CVE in this peer group has 0.1 InfoSec Media, 0.0 Vendor Blog, and 0.0 Security Researcher mentions.

Remediation

Patch Available

Vendor Patches (2)

github_advisorypatch availablevia nvd_reference
View patch
npmpatch availablevia ghsa
Product: sanitize-htmlFixed in: 2.0.0-beta

Vendor Advisories (2)

npmGHSA-qhxp-v273-g94hmedium

sanitize-html is vulnerable to XSS through incomprehensive sanitization

Sep 8, 2025
redhatCVE-2019-25225Moderate

sanitize-html: sanitize-html cross site scripting

Sep 8, 2025

References

github.com / apostrophecms/sanitize-html/commit/712cb6895825c8bb6ede71a16b42bade42abcaf3
Patch
github.com / apostrophecms/sanitize-html/issues/293
Issue TrackingVendor Advisory
github.com / apostrophecms/sanitize-html/pull/156
Issue TrackingPatch
github.com / Checkmarx/Vulnerabilities-Proofs-of-Concept/tree/main/2019/CVE-2019-25225
ExploitThird Party Advisory