CVE-2024-21501

CVE-2024-21501 is a medium-severity vulnerability in Apostrophecms Sanitize-html with a CVSS 3.x base score of 5.3. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-200.

Key facts

Description

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.

Frequently asked questions

What is CVE-2024-21501?
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.
How severe is CVE-2024-21501?
CVE-2024-21501 has a CVSS 3.x base score of 5.3, rated medium severity. It is exploitable over network with low attack complexity, requires no privileges and no user interaction. Impact on confidentiality is low, integrity none, and availability none.
Is CVE-2024-21501 being actively exploited?
It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 1% (59th percentile), an estimate of the probability of exploitation in the next 30 days.
What products are affected by CVE-2024-21501?
CVE-2024-21501 primarily affects Apostrophecms Sanitize-html. In total, 3 product configurations (CPEs) are listed as vulnerable; see the affected-products list for the exact versions.
How do I fix CVE-2024-21501?
Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
Does CVE-2024-21501 have an EU (EUVD) identifier?
Yes. CVE-2024-21501 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2024-0719.
When was CVE-2024-21501 published?
CVE-2024-21501 was published on 2024-02-24 and last updated on 2026-06-17.

References

Affected products (3)

More vulnerabilities in Apostrophecms Sanitize-html

All CVEs affecting Apostrophecms Sanitize-html →

Other CWE-200 (Exposure of Sensitive Information to an Unauthorized Actor) vulnerabilities

Browse all CWE-200 (Exposure of Sensitive Information to an Unauthorized Actor) vulnerabilities →