What’s Vulnerable › Vulnerabilities

CVE-2024-21501

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 products

How to fix

Upgrade to a fixed version: apostrophecms sanitize-html 2.12.1. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2024-21501 or the next vulnerability affects your stack