Original 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 software
- Apostrophe * repository or package match
Details
- Published
- 2024-02-24
- Last modified
- 2025-02-14
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N/E:P- CWE
- CWE-200
- EPSS (30-day exploit probability)
- 1.03% (percentile 64)
References
- cve.org/CVE-2024-21501
- nvd.nist.gov/vuln/detail/CVE-2024-21501
- security.snyk.io/vuln/SNYK-JS-SANITIZEHTML-6256334
- security.snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-6276557
- gist.github.com/Slonser/8b4d061abe6ee1b2e10c7242987674cf
- github.com/apostrophecms/sanitize-html/pull/650
- github.com/apostrophecms/apostrophe/discussions/4436
- github.com/apostrophecms/sanitize-html/commit/c5dbdf77fe8b836d3bf4554ea39edb45281ec0b4
- lists.fedoraproject.org/archives/list/[email protected]/message/P4I...
- lists.fedoraproject.org/archives/list/[email protected]/message/4EB...
Track these versions on your own servers
InfraGuard collects installed software versions from every server and flags the ones with known vulnerabilities. Self-hosted — nothing leaves your network.
This product uses data from the NVD API but is not endorsed or certified by the NVD. CVE® is a registered trademark of The MITRE Corporation; CVE records are used under the CVE Program Terms of Use.