icon

We found results for “

CVE-2019-25225

Good to know:

icon
icon

Date: September 8, 2025

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

Severity Score

Severity Score

Weakness Type (CWE)

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

CWE-79

Top Fix

icon

Upgrade Version

Upgrade to version sanitize-html - 2.0.0;sanitize-html - 2.0.0-beta;sanitize-html - null;https://github.com/apostrophecms/sanitize-html.git - 2.0.0;https://github.com/apostrophecms/sanitize-html.git - 2.0.0

Learn More

CVSS v3.1

Base Score:
Attack Vector (AV): NETWORK
Attack Complexity (AC): LOW
Privileges Required (PR): NONE
User Interaction (UI): REQUIRED
Scope (S): CHANGED
Confidentiality (C): LOW
Integrity (I): LOW
Availability (A): NONE

Do you need more information?

Contact Us