CVE-2026-49102 Cross-site scripting in Webmin

Medium 6.1 Published Updated

An attacker can execute arbitrary scripts in the victim's browser by sending a malicious SVG email attachment viewed in Webmin's mailboxes component.

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
None listed

What is CVE-2026-49102?

CVE-2026-49102 is a medium-severity cross-site scripting vulnerability in Webmin, published on 27 May 2026. 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

Webmin before 2.640 allows mailboxes/detach.cgi XSS via an SVG document attachment that is viewed in the mailboxes component, because image/svg+xml is used instead of a safe type (e.g., text/plain).

Weakness: CWE-79

Which versions are affected by CVE-2026-49102?

How do I fix CVE-2026-49102?

No fix has been published for CVE-2026-49102 yet. Limit exposure of the affected software until one is available.

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-49102 being exploited?

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

Sources

Also known as GHSA-2rpj-3356-c2rw.

Is CVE-2026-49102 in your software?

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

Check your SBOMs for free