Skip to main content
← All vulnerabilities
CVE-2024-21501GHSA-RM97-X556-Q36H

Versions of the package sanitize-html before 2.12.1 are vulnerable to Information Exposure when used on the backend and with the style attri

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 2.12.1
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: yes
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: yes · Technical impact: partial

  3. Record last updated

Affected versions

  • n/a sanitize-html

    fixed in 2.12.1

  • n/a org.webjars.npm:sanitize-html

    All versions

  • sanitize-htmlnpm

    fixed in 2.12.1

References 8

security.snyk.io

gist.github.com

GitHub · apostrophecms/sanitize-html

GitHub · apostrophecms/apostrophe

lists.fedoraproject.org