CVE-2024-21501
MEDIUM5.3EPSS 1.8%sanitize-html Information Exposure vulnerability
Published: 2/24/2024Modified: 8/28/2024
Also known as:GHSA-rm97-x556-q36h
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.
Affected packages (2)
- Debian/node-sanitize-htmlfrom 0
- npm/sanitize-htmlfrom 0, < 2.12.1
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |
References (11)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2024-21501
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2024-21501
- PATCHhttps://github.com/apostrophecms/sanitize-html
- WEBhttps://gist.github.com/Slonser/8b4d061abe6ee1b2e10c7242987674cf
- WEBhttps://github.com/apostrophecms/apostrophe/discussions/4436
- WEBhttps://github.com/apostrophecms/sanitize-html/commit/c5dbdf77fe8b836d3bf4554ea39edb45281ec0b4
- WEBhttps://github.com/apostrophecms/sanitize-html/pull/650
- WEBhttps://lists.fedoraproject.org/archives/list/[email protected]/message/4EB5JPYRCTS64EA5AMV3INHDPI6I4AW7
- WEBhttps://lists.fedoraproject.org/archives/list/[email protected]/message/P4I5X6V3LYUNBMZ5YOW4BV427TH3IK4S
- WEBhttps://security.snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-6276557
- WEBhttps://security.snyk.io/vuln/SNYK-JS-SANITIZEHTML-6256334