CVE-2019-25225
Last modified
CVE-2019-25225 is a medium-severity vulnerability rated 6.1/10 on the CVSS scale. `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. EPSS estimates a 0.25% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Apostrophecms | Sanitize-Html | < 2.0.0 |
References
- https://github.com/Checkmarx/Vulnerabilities-Proofs-of-Concept/tree/main/2019/CVE-2019-25225Exploit, Third Party Advisory
- https://github.com/apostrophecms/sanitize-html/issues/293Issue Tracking, Vendor Advisory
- https://github.com/apostrophecms/sanitize-html/pull/156Issue Tracking, Patch
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2019-25225?
How severe is CVE-2019-25225?
How do I fix CVE-2019-25225?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2019
- CVE-2019-2522Vulnerability in the Oracle VM VirtualBox component of Oracl…
- CVE-2019-25220Bitcoin Core before 24.0.1 allows remote attackers to cause …7.5
- CVE-2019-25221The Responsive Filterable Portfolio plugin for WordPress is …4.9
- CVE-2019-25222The Thumbnail carousel slider plugin for WordPress is vulner…4.9
- CVE-2019-25223The Team Circle Image Slider With Lightbox plugin for WordPr…4.9
- CVE-2019-25224The WP Database Backup plugin for WordPress is vulnerable to…9.8
- CVE-2019-25226Dongyoung Media DM-AP240T/W wireless access points contain a…8.7
- CVE-2019-25227Tellion HN-2204AP routers contain an unauthenticated configu…8.7
- CVE-2019-25228An information disclosure vulnerability in Kentico Xperience…5.3
- CVE-2019-25229An unrestricted file upload vulnerability in Kentico Xperien…8.8
- CVE-2019-2523Vulnerability in the Oracle VM VirtualBox component of Oracl…
- CVE-2019-25230An information disclosure vulnerability in Kentico Xperience…4.3
Are you affected by CVE-2019-25225?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
