| Package | Affected versions | Patched versions |
|---|---|---|
| sanitize-html | < 2.12.1 | 2.12.1 |
| sanitize-html | < 2.12.1 | 2.12.1 |
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.
Running one of these products? Scan your site to see whether it exposes a vulnerable version.
Scan my site free