PT-2024-31782

CVE-2024-45800

·

Published

2024-09-16

·

Updated

2024-09-20

Description by

CVSS 3.1
5.0
Medium
MetricsAV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:L
Name of the Vulnerable Software and Affected Versions: SnappyMail versions prior to 2.38.0
Description: SnappyMail is an open source web-based email client that uses the cleanHtml() function to cleanup HTML and CSS in emails. Research discovered that the function has bugs which cause an mXSS exploit, allowing a motivated attacker to inject JavaScript. However, due to the default Content Security Policy, the impact of the exploit is minimal. It could be possible to create an attack that leaks some data when loading images through the proxy, or to load a JavaScript attachment of the email.
Recommendations: For versions prior to 2.38.0, users are advised to upgrade to version 2.38.0 or later. For older versions, an extension named "Security mXSS" can be installed as a mitigation, available at the administration area at /?admin#/packages. As a temporary workaround, consider disabling the cleanHtml() function until a patch is available. Restrict access to the vulnerable cleanHtml() function to minimize the risk of exploitation. Avoid using the cleanHtml() function in the affected API endpoint until the issue is resolved.
Exploitability
Exploit
Fix
Impacts
Vendors
Affected products
Related identifiers
GHSA-2RQ7-79VP-FFXM
Found an issue in the description? Have something to add? Feel free to write us 👾