CVE-2026-124552

Webmin through 2.670 Stored XSS via Shorewall and Shorewall6 list.cgi

Published Nov 8, 2026 CVSS 4.0 · 4.8 Medium EPSS < 1% KEV · Not listed
Description
Webmin through 2.670 contains a stored cross-site scripting vulnerability in the Shorewall and Shorewall6 modules' list.cgi, which renders table fields and COMMENT lines unescaped. Authenticated users with table edit permission can store JavaScript via savecmt.cgi or table entries that executes when other users, including root, view the list page.

Analysis

AI-generated

Technical impact

This flaw arises from unescaped table fields and COMMENT lines in the Shorewall and Shorewall6 modules’ list.cgi scripts in Webmin versions up to 2.670. An attacker who can edit table entries or the savecmt.cgi endpoint can store arbitrary JavaScript. When another user, such as root, views the affected list page, the injected script runs in that user’s browser session, potentially allowing the attacker to steal session tokens, deface content, or perform actions on behalf of the victim.

Affected Systems

All installations of Webmin up to and including version 2.670 that enable the Shorewall or Shorewall6 modules. The vulnerability is tied specifically to the list.cgi handlers in these modules; products without these modules or newer Webmin releases are not affected.

Risk and Exploitability

The CVSS score of 4.8 indicates moderate severity. Because the entry requires authentication and a table‑edit privilege, the attacker must first obtain valid credentials or convince an authorized user to perform the action. The EPSS score is not available and the vulnerability is not currently listed in CISA’s KEV catalog. If an attacker gains sufficient access, the injected script can compromise the look‑and‑feel of the web interface for all users who view the page, but does not directly grant code execution on the host or privilege escalation. The likely attack vector is a compromised or social‑engineering‑pwned authenticated session used to create or edit table entries.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Webmin to a release newer than 2.670, which includes the patch for the unescaped list.cgi scripts (see commit 01b988dbf1e8f9926eec4b041d913167e0cc280f).
  • If an immediate upgrade is not possible, disable the Shorewall and Shorewall6 modules so that list.cgi handlers are not exposed, or restrict their use to a minimal set of trusted administrators.
  • Enforce strict permission controls so that only required users have table‑edit rights, and audit edits to table entries for unexpected changes.

Generated by OpenCVE AI on November 8, 2026 at 15:20 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description Webmin through 2.670 contains a stored cross-site scripting vulnerability in the Shorewall and Shorewall6 modules' list.cgi, which renders table fields and COMMENT lines unescaped. Authenticated users with table edit permission can store JavaScript via savecmt.cgi or table entries that executes when other users, including root, view the list page.
Title Webmin through 2.670 Stored XSS via Shorewall and Shorewall6 list.cgi
First Time appeared Webmin
Webmin webmin
Weaknesses CWE-79
CPEs cpe:2.3:a:webmin:webmin:*:*:*:*:*:*:*:*
Vendors & Products Webmin
Webmin webmin
References
Metrics cvssV3_1

{'score': 4.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N'}

cvssV4_0

{'score': 4.8, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N'}

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Nov 10, 2026, 5:53 PM
Reserved
Nov 8, 2026, 1:43 PM
Status
Deferred
Published
Nov 8, 2026, 2:18 PM
Modified
Nov 10, 2026, 6:17 PM