GHSA-rm97-x556-q36h · Severity: medium · Ecosystem: npm — sanitize-html Information Exposure vulnerability
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.
Conclusion & alert: CVE-2024-21501 is rated Exploit Available (56/100): CVSS Medium severity, with medium exploitation likelihood (EPSS 1.02%). Core evidence: 3 public exploit reference(s) are indexed (Exploit-DB). Mandatory action: Public exploits are available—assess exposure, apply mitigations, and prioritize patching.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
| EDB-ID | Source | Kind | Published | Link |
|---|---|---|---|---|
| — | nvd_ref | exploit_tag | Exploit-DB ↗ | |
| — | nvd_ref | exploit_tag | Exploit-DB ↗ | |
| — | nvd_ref | exploit_tag | Exploit-DB ↗ |
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).
| # | Date | Old EPSS score | New EPSS score | Delta (New - Old) |
|---|---|---|---|---|
| 1 | 2026-06-15 | 1.81% | 1.02% | -0.79% |
| 2 | 2026-03-14 | 1.34% | 1.81% | +0.47% |
| 3 | 2025-11-22 | — | 1.34% | — |
Full EPSS history (23 records total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 5.3 | 3.1 | MEDIUM |
|
3.9 | 1.4 | [email protected] |
| 5.3 | 3.1 | MEDIUM |
|
3.9 | 1.4 | [email protected] |
GHSA-rm97-x556-q36h · Severity: medium · Ecosystem: npm — sanitize-html Information Exposure vulnerability
| vendor | priority | summary | link |
|---|---|---|---|
debian
|
not yet assigned | CVE-2024-21501 not yet assigned priority: Debian including 1 source packages (node-sanitize-html), 4 status rows across 4 suites (bookworm, forky, sid, trixie): resolved 3, open 1. | https://security-tracker.debian.org/tracker/CVE-2024-21501 |
redhat
|
medium | — | https://access.redhat.com/security/cve/CVE-2024-21501 |
ubuntu
|
medium | CVE-2024-21501 medium priority: Ubuntu including 1 source packages (node-sanitize-html), 11 status rows across 11 suites (bionic, focal, jammy, mantic, noble, oracular, plucky, questing, trusty, upstream, xenial): DNE 4, needs-triage 4, ignored 3. | https://ubuntu.com/security/CVE-2024-21501 |
| Vendor | Product | Version | Raw CPE |
|---|---|---|---|
| apostrophecms | sanitize-html | < 2.12.1 | cpe:2.3:a:apostrophecms:sanitize-html:*:*:*:*:*:node.js:*:* |
| fedoraproject | fedora | 39 | cpe:2.3:o:fedoraproject:fedora:39:*:*:*:*:*:*:* |
| fedoraproject | fedora | 40 | cpe:2.3:o:fedoraproject:fedora:40:*:*:*:*:*:*:* |
| URL | Tags |
|---|---|
| https://gist.github.com/Slonser/8b4d061abe6ee1b2e10c7242987674cf | Exploit Third Party Advisory |
| https://github.com/apostrophecms/apostrophe/discussions/4436 | Issue Tracking |
| https://github.com/apostrophecms/sanitize-html/commit/c5dbdf77fe8b836d3bf4554ea39edb45281ec0b4 | Patch |
| https://github.com/apostrophecms/sanitize-html/pull/650 | Patch |
| https://lists.fedoraproject.org/archives/list/[email protected]/message/4EB5JPYRCTS64EA5AMV3INHDPI6I4AW7/ | Mailing List |
| https://lists.fedoraproject.org/archives/list/[email protected]/message/P4I5X6V3LYUNBMZ5YOW4BV427TH3IK4S/ | Mailing List |
| https://security.snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-6276557 | Exploit Third Party Advisory |
| https://security.snyk.io/vuln/SNYK-JS-SANITIZEHTML-6256334 | Exploit Third Party Advisory |