6.1

CVE-2019-25225: apostrophecms sanitize-html Cross-site Scripting

CVSS: 6.1v3.1MediumAnalyzed
AliasesUBUNTU-CVE-2019-25225GHSA-qhxp-v273-g94h
Published 08-09-2025Last modified 08-09-2025

Vulnerability summary

CVE-2019-25225 is a medium (CVSS 6.1) Cross-site Scripting vulnerability in apostrophecms sanitize-html. EPSS estimates a 0.27% chance of exploitation in the next 30 days, higher than 17.9% of scored vulnerabilities. 1 public exploit is recorded.

Overall risk
34/100
0100
Medium · default modelHow is this calculated?
CVSS score
6.1/10
010
Medium · v3.1 (CVE.org)
EPSS score
0.27%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits1github

Timeline

  1. 08-09-2025
    PublishedVulnerability first disclosed.
  2. 08-09-2025
    Last modifiedVulnerability information updated.

Description

`sanitize-html` prior to version 2.0.0-beta is vulnerable to Cross-site Scripting (XSS). The `sanitizeHtml()` function in `index.js` does not sanitize content when using the custom `transformTags` option, which is intended to convert attribute values into text. As a result, malicious input can be transformed into executable code.

CVSS metrics

4 scores · 4 sources · 1 version

EPSS trend

Probability

0.27%

Chance of exploitation in the next 30 days

Percentile

18%

Versus all other CVEs

30-day change

0.00 pp

From 0.27% on 21-09-2026

21-09-202621-10-2026
EPSS score
0.27%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

1 found
  • githubUnverified

    Vulnerabilities Proofs Of Concept

    Maturity: poc

Weaknesses

CWE · root cause

Affected systems

Apostrophecms1 product
Npm1 product
  • sanitize-html< 2.0.0-beta
Ubuntu1 product
  • node-sanitize-htmlAll versions (No fix recorded)

3 vendors · 3 products

References

8 links