CVE-2024-21501
mediumpriority · track · 21EPSS 0.010 · 63 %ileDEEUUSEPSS · scored 2026-10-27
Versions of the package sanitize-html before 2.12.1 are vulnerable to Information Exposure when used on the backend and with the style attribute allowed, allowing enumeration of files in the system (including project dependencies). An attacker could exploit this vulnerability to gather details about the file system structure and dependencies of the targeted server.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (10)
Products and version ranges known to be affected.
advisories (3)
Vendor and ecosystem advisories describing this.
- WID-SEC-W-2024-0902Red Hat OpenShift: Schwachstelle ermöglicht Offenlegung von InformationenDeutsch2024-04-16csaf · cert_bundDE
Ein entfernter, anonymer Angreifer kann eine Schwachstelle in Red Hat OpenShift ausnutzen, um Informationen offenzulegen.
- WID-SEC-W-2024-3344HCL BigFix WebUI: Mehrere Open Source SchwachstellenDeutsch2024-11-05csaf · cert_bundDE
Ein entfernter, anonymer Angreifer kann mehrere Schwachstellen in HCL BigFix WebU ausnutzen, um die Vertraulichkeit, Verfügbarkeit und Integrität zu gefährden.
- GHSA-rm97-x556-q36hsanitize-html Information Exposure vulnerability2024-02-24ghsa · osvUS
Versions of the package sanitize-html before 2.12.1 are vulnerable to Information Exposure when used on the backend and with the style attribute allowed, allowing enumeration of files in the system (including project dependencies). An attacker could exploit this vulnerability to gather details about the file system structure and dependencies of the targeted server.
also known as (3)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (25)
External citations — patches, advisories, analysis.
- https://cxsecurity.com/cveshow/CVE-2024-21501/cnnvd
- https://gist.github.com/Slonser/8b4d061abe6ee1b2e10c7242987674cfcnnvd
- https://github.com/apostrophecms/apostrophe/discussions/4436cnnvd
- https://github.com/apostrophecms/sanitize-html/commit/c5dbdf77fe8b836d3bf4554ea39edb45281ec0b4cnnvd
- https://github.com/apostrophecms/sanitize-html/pull/650cnnvd
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/4EB5JPYRCTS64EA5AMV3INHDPI6I4AW7/cnnvd
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/P4I5X6V3LYUNBMZ5YOW4BV427TH3IK4S/cnnvd
- https://security.snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-6276557cnnvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan