CVE-2026-134340: Webmin through 2.670 Stored XSS via Servers Index Discovery realhost Field

Published Nov 25, 2026
·
Updated

Webmin through 2.670 contains a stored cross-site scripting vulnerability in the Servers Index module that allows unauthenticated adjacent attackers to inject scripts via the realhost field of UDP discovery replies. Attackers on the same broadcast domain can answer discovery scans with HTML or JavaScript stored by findservers() and rendered unescaped by editserv.cgi, executing in Webmin user sessions.

Affected Software

1 affected component
Webmin Webmin<=2.670

Event History

Nov 25, 2026
CVE Published
via MITRE·03:21 AM
Data Sourced
via MITRE·03:21 AM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which deployments are exposed to this issue?

Webmin installations through 2.670 are exposed when the Servers Index module performs UDP discovery scans on a broadcast domain shared with an attacker. The attacker must be adjacent to the target, meaning able to send or respond to traffic on that same broadcast domain.

2

What must an attacker do to trigger script execution?

The attacker can reply to a UDP discovery scan with a crafted realhost field containing HTML or JavaScript. The malicious value is stored by find_servers() and later rendered without escaping by edit_serv.cgi when a Webmin user views it.

3

Is authentication required for exploitation?

No. The vulnerability allows unauthenticated attackers on the same broadcast domain to provide a malicious discovery response, although a Webmin user must subsequently render the stored value for the script to execute.

4

What can be done if an update cannot be applied immediately?

Limit UDP discovery exposure to trusted network segments and avoid running discovery scans on broadcast domains where untrusted hosts can respond. Review discovered server entries before opening or editing them in the Webmin interface.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203