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.
INFO
Published Date :
2025-09-08T10:02:42.945Z
Last Modified :
2025-09-08T15:18:19.841Z
Source :
Checkmarx
AFFECTED PRODUCTS
The following products are affected by CVE-2019-25225 vulnerability.
| Vendors | Products |
|---|---|
| Apostrophecms |
|
REFERENCES
Here, you will find a curated list of external links that provide in-depth information to CVE-2019-25225.
CVSS Vulnerability Scoring System
Detailed values of each vector for above chart.
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality Impact
Integrity Impact
Availability Impact