We found results for “”
CVE-2019-25225
Good to know:
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
Related Resources (7)
Severity Score
Weakness Type (CWE)
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
CWE-79Top Fix
Upgrade Version
Upgrade to version sanitize-html - 2.0.0;sanitize-html - 2.0.0-beta;sanitize-html - no_fix;https://github.com/apostrophecms/sanitize-html.git - 2.0.0;https://github.com/apostrophecms/sanitize-html.git - 2.0.0
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 |
Vulnerabilities
Projects
Contact Us


