sanitize-html Information Exposure vulnerability
Moderate severity
GitHub Reviewed
Published
Feb 24, 2024
to the GitHub Advisory Database
•
Updated Aug 28, 2024
Description
Published by the National Vulnerability Database
Feb 24, 2024
Published to the GitHub Advisory Database
Feb 24, 2024
Reviewed
Mar 1, 2024
Last updated
Aug 28, 2024
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.
References