CVE-2012-4668: XSS in Roundcube Webmail via Email Signature
- Vendor
- Roundcube
A cross-site scripting (XSS) vulnerability exists in Roundcube Webmail 0.8.1 and earlier, where user-supplied input in the email signature is not properly sanitized. This allows remote attackers to inject arbitrary web script or HTML content via a crafted email signature, which is then rendered in the webmail interface.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Successful exploitation allows an attacker to execute arbitrary JavaScript in the context of the victim's browser session, potentially leading to session hijacking, credential theft, or further attacks against users of the Roundcube Webmail instance.
Mitigation
If you can’t patch tonight, do this now.
As an interim measure, disable or restrict the use of HTML in email signatures, and apply input validation and output encoding to all user-supplied content. Employ web application firewalls to detect and block XSS payloads.
Remediation
Patch, then assume compromise.
Upgrade to a version of Roundcube Webmail later than 0.8.1 where this vulnerability has been patched. Ensure that all user-supplied input, especially in email signatures, is properly sanitized and encoded before rendering.
Exploits
No validated public exploits yet. Hidden: 1 not yet analyzed, such as Exploit-DB entries.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2012-4668 exploited in the wild?
- As of Oct 16, 2026, Mallory has no reports of CVE-2012-4668 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2012-4668?
- As of Oct 16, 2026, Mallory has not confirmed a public exploit for CVE-2012-4668. 1 candidate exploit record is not yet analyzed.
- Is there a patch for CVE-2012-4668?
- Upgrade to a version of Roundcube Webmail later than 0.8.1 where this vulnerability has been patched. Ensure that all user-supplied input, especially in email signatures, is properly sanitized and encoded before rendering.
- What products are affected by CVE-2012-4668?
- Roundcube Webmail.
- How severe is CVE-2012-4668?
- CVE-2012-4668 has a CVSS v2 score of 4.3 (Medium) and an EPSS score of 3.7% (90th percentile) as of Oct 16, 2026.
Recent activity
No public activity tracked yet. Mallory keeps watching.
No public activity observed for this vulnerability.