#VU88801 Information disclosure in sanitize-html - CVE-2024-21501


Vulnerability identifier: #VU88801

Vulnerability risk: Medium

CVSSv4.0: 2.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:U/U:Green]

CVE-ID: CVE-2024-21501

CWE-ID: CWE-200

Exploitation vector: Network

Exploit availability: No

Vulnerable software:
sanitize-html
Web applications / Modules and components for CMS

Vendor: ApostropheCMS

Description

The vulnerability allows a remote attacker to gain access to potentially sensitive information.

The vulnerability exists due to excessive data output by the application when used on the backend and with the style attribute allowed. A remote attacker can enumerate files on the system, including project dependencies.

Mitigation
Install updates from vendor's website.

Vulnerable software versions

sanitize-html: 1.5.2 - 2.11.0


External links
https://security.snyk.io/vuln/SNYK-JS-SANITIZEHTML-6256334
https://gist.github.com/Slonser/8b4d061abe6ee1b2e10c7242987674cf
https://github.com/apostrophecms/sanitize-html/pull/650
https://github.com/apostrophecms/apostrophe/discussions/4436
https://github.com/apostrophecms/sanitize-html/commit/c5dbdf77fe8b836d3bf4554ea39edb45281ec0b4
https://security.snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-6276557


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.


Latest bulletins with this vulnerability