CVE-2012-3508 Cross-site scripting in n/a

Medium 4.3 Published Updated

Remote attackers can inject arbitrary web script via javascript hrefs in HTML emails, potentially compromising user sessions in Roundcube Webmail.

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-2012-3508?

CVE-2012-3508 is a medium-severity cross-site scripting vulnerability in Roundcube Webmail, published on 25 Aug 2012. 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

Cross-site scripting (XSS) vulnerability in program/lib/washtml.php in Roundcube Webmail 0.8.0 allows remote attackers to inject arbitrary web script or HTML by using "javascript:" in an href attribute in the body of an HTML-formatted email.

Weakness: CWE-79

Which versions are affected by CVE-2012-3508?

It affects 1 product.

Products include Roundcube Webmail.

How do I fix CVE-2012-3508?

Upgrade to a fixed version.

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-2012-3508 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2012-3508 exists.

Public exploit code: 1 Exploit-DB entry.

All Roundcube Webmail vulnerabilities

Sources

Also known as DEBIAN-CVE-2012-3508, GHSA-h9g8-25j6-gxp7.

Is CVE-2012-3508 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free