CVE-2019-12970 Cross-site scripting in n/a
Attackers can execute malicious scripts in SquirrelMail via crafted HTML emails, potentially leading to account takeover.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2019-12970?
CVE-2019-12970 is a medium-severity cross-site scripting vulnerability in Squirrelmail Squirrelmail, published on 1 Jul 2019. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
XSS was discovered in SquirrelMail through 1.4.22 and 1.5.x through 1.5.2. Due to improper handling of RCDATA and RAWTEXT type elements, the built-in sanitization mechanism can be bypassed. Malicious script content from HTML e-mail can be executed within the application context via crafted use of (for example) a NOEMBED, NOFRAMES, NOSCRIPT, or TEXTAREA element.
Weakness: CWE-79
Which versions are affected by CVE-2019-12970?
It affects 1 product.
Products include Squirrelmail Squirrelmail.
How do I fix CVE-2019-12970?
Apply the vendor's patch.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2019-12970 being exploited?
There is no known exploitation of CVE-2019-12970 in the wild and no public exploit code.
Other vulnerabilities in Squirrelmail Squirrelmail
Sources
Also known as DLA-1868-1, GHSA-mc9j-h3qj-qfr9, MGASA-2021-0010, UBUNTU-CVE-2019-12970, USN-4669-1.