CVE-2024-21501
MEDIUM EPSS 59.0%
Published Feb 24, 20242y ago · Modified Jun 17, 20262w ago
5.3 CVSS 3.1
Published Feb 24, 2024 2y ago
Last Modified Jun 17, 2026 2w ago
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.
CVSS Details
Base Score
Exploitability
Impact
Vector string
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N Attack Vector Network
Attack Complexity Low
Privileges Required None
User Interaction None
Scope Unchanged
Confidentiality Low
Integrity None
Availability None
Threat Intelligence
EPSS Exploit Probability
59.0% percentile
Exploit & Patch Status
Public Exploit Known
Patch Available
Weaknesses 2
CWE-200 Exposure of Sensitive Information to an Unauthorized Actor Information Exposure
CWE-538
Affected Products 3
| Vendor | Product | Version | Range |
|---|---|---|---|
| apostrophecms | sanitize-html | * | <2.12.1 |
| fedoraproject | fedora | 39 | any |
| fedoraproject | fedora | 40 | any |
References 8
- gist.github.com https://gist.github.com/Slonser/8b4d061abe6ee1b2e10c7242987674cf
- github.com https://github.com/apostrophecms/apostrophe/discussions/4436
- github.com https://github.com/apostrophecms/sanitize-html/commit/c5dbdf77fe8b836d3bf4554ea39edb45281ec0b4
- github.com https://github.com/apostrophecms/sanitize-html/pull/650
- lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/4EB5JPYRCTS64EA5AMV3INHDPI6I4AW7/
- lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/P4I5X6V3LYUNBMZ5YOW4BV427TH3IK4S/
- security.snyk.io https://security.snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-6276557
- security.snyk.io https://security.snyk.io/vuln/SNYK-JS-SANITIZEHTML-6256334
Remediation
- github.com https://github.com/apostrophecms/sanitize-html/commit/c5dbdf77fe8b836d3bf4554ea39edb45281ec0b4
- github.com https://github.com/apostrophecms/sanitize-html/pull/650