Information disclosure in sanitize-html



Published: 2024-04-17
Risk Medium
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2024-21501
CWE-ID CWE-200
Exploitation vector Network
Public exploit N/A
Vulnerable software
Subscribe
sanitize-html
Web applications / Modules and components for CMS

Vendor ApostropheCMS

Security Bulletin

This security bulletin contains one medium risk vulnerability.

1) Information disclosure

EUVDB-ID: #VU88801

Risk: Medium

CVSSv3.1: 4.6 [CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N/E:U/RL:O/RC:C]

CVE-ID: CVE-2024-21501

CWE-ID: CWE-200 - Information exposure

Exploit availability: No

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

http://security.snyk.io/vuln/SNYK-JS-SANITIZEHTML-6256334
http://gist.github.com/Slonser/8b4d061abe6ee1b2e10c7242987674cf
http://github.com/apostrophecms/sanitize-html/pull/650
http://github.com/apostrophecms/apostrophe/discussions/4436
http://github.com/apostrophecms/sanitize-html/commit/c5dbdf77fe8b836d3bf4554ea39edb45281ec0b4
http://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.



###SIDEBAR###