CVE-2026-48849 Cross-site scripting in Webmail

Medium 4.4 Published Updated

Attackers can inject malicious scripts via unsanitized subject fields in restored drafts, affecting shared mailboxes in Roundcube Webmail.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2026-48849?

CVE-2026-48849 is a medium-severity cross-site scripting vulnerability in Roundcube Webmail, published on 25 May 2026. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

Official description

In Roundcube Webmail 1.6.x before 1.6.16 and 1.7.x before 1.7.1, an unsanitized subject field in the draft restored value could lead to stored XSS/HTML/CSS injection on shared mailboxes.

Weakness: CWE-79

Which versions are affected by CVE-2026-48849?

How do I fix CVE-2026-48849?

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-2026-48849 being exploited?

There is no known exploitation of CVE-2026-48849 in the wild and no public exploit code.

Public exploit code: 1 proofs of concept on GitHub.

Sources

Also known as DEBIAN-CVE-2026-48849, GHSA-2m7q-4j9m-89vh, UBUNTU-CVE-2026-48849.

Is CVE-2026-48849 in your software?

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

Check your SBOMs for free