home / blog
2026-11-09 · medium
CVE-2026-124552: Stored XSS in Webmin Shorewall
Webmin ≤2.670: stored XSS in Shorewall lets authenticated users inject JavaScript executed as root.

CVE-2026-124552 identifies a stored cross-site scripting (XSS) vulnerability in Shorewall and Shorewall6 modules of Webmin through version 2.670. The flaw resides in list.cgi, where table fields and COMMENT lines are rendered unescaped. This allows authenticated users with table edit permission to inject malicious JavaScript via savecmt.cgi or directly in table entries. The injected JavaScript executes in the context of the administrator's or root user's account when they access the list page to view data.
The vulnerability is classified with CVSS 4.8 (medium) in the official declaration, reflecting moderate impact with the mitigation of required authentication. However, Webmin's role as a remote administration tool elevates concrete risk: any user with access to Shorewall modules can compromise the security of other administrators and the root account. The CVE was published on NVD on 2026-11-08, while on 2026-11-09 a GitHub repository publicly declared to contain proof-of-concept for this vulnerability, signaling active exposure of the flaw.
Security teams and system administrators must first verify whether Webmin is in use in the infrastructure, especially in firewall management environments based on Shorewall. For now it is essential to restrict access to Shorewall modules to trusted users with genuine operational needs. Monitor Webmin logs for unauthorized editing activity on table entries and comments. As soon as possible, await and test an official patch from the Webmin team, then plan an upgrade in a controlled environment.
At a glance
- What
- Stored cross-site scripting (XSS) vulnerability in Shorewall and Shorewall6 modules of Webmin. Authenticated users with table edit permission can inject JavaScript via savecmt.cgi or table entries that execute when other users, including root, view the list.cgi page.
- Severity
- CVSS 4.8 (medium). Requires authenticated user, but Webmin's role as remote administration tool amplifies potential impact.
- Affected versions
- Webmin through 2.670
- Fix
- Not reported. Check releases after 2.670.
- Status
- Published NVD 2026-11-08. Proof-of-Concept declared publicly available since 2026-11-09.
- Action
- Verify Webmin version in use; evaluate upgrade when available. Restrict access to Shorewall modules to trusted users. Monitor logs for suspicious activity in affected modules.
Sources: NVD, CVE-2026-124552