CVE-2026-134304: Webmin through 2.670 Stored XSS via apache/restart.cgi Error Log Output
Webmin through 2.670 contains a stored cross-site scripting vulnerability in apache/restart.cgi that displays the last five Apache ErrorLog lines without HTML escaping. Unauthenticated attackers can inject script into errorlog via malformed requests or denied paths, executing in a Webmin user's session when Apache fails to restart.
Affected Software
Event History
Frequently Asked Questions
Which deployments are exposed to this issue?
Webmin versions through 2.670 are affected. Exploitation targets a Webmin user who encounters an Apache restart failure after attacker-controlled content has been written to Apache's error_log.
What does an attacker need to do to trigger script execution?
The attacker does not need Webmin credentials to place content in the Apache error log. They can use malformed requests or requests to denied paths, then a Webmin user must view the unescaped recent ErrorLog output during a failed Apache restart.
How can administrators check for relevant attacker-controlled content?
Review the most recent Apache ErrorLog entries, especially the last five lines that Webmin displays during Apache restart failures. Look for entries caused by malformed requests or denied paths that contain HTML or script-like content.