CVE-2026-22678

Webmin < 2.641 Stored XSS via System and Server Status

Published May 21, 2026 CVSS 4.0 · 5.1 Medium EPSS < 1% KEV · Not listed
Description
Webmin before 2.641 contains a stored cross-site scripting vulnerability in the email template description field of the System and Server Status module that allows low-privileged authenticated attackers to execute arbitrary JavaScript in the browser context of administrators by injecting unsanitized input stored in save_tmpl.cgi and rendered unescaped in list_tmpls.cgi.

Analysis

AI-generated

Technical impact

Webmin before version 2.641 includes a stored cross‑site scripting vulnerability (CWE‑79) in the email template description field of the System and Server Status module. Unsanitized input supplied by a low‑privileged authenticated user is persisted through save_tmpl.cgi and later rendered without escaping in list_tmpls.cgi, enabling the attacker to inject malicious code that can execute arbitrary JavaScript in the browser context of administrators.

Affected Systems

Any Webmin installation running a version older than 2.641 is affected. The vulnerability resides in the System and Server Status module’s email template description field and applies to all vendors’ Webmin packages.

Risk and Exploitability

The CVSS score of 5.1 indicates moderate severity. The EPSS score of <1% shows a very low likelihood of exploitation, and the vulnerability is not listed in the CISA KEV catalog. The attack requires authenticated access with low privileges; once an attacker injects malicious content, it persists and can be executed when the template is rendered, posing a significant threat in environments where users have such access.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Webmin to version 2.641 or later to eliminate the vulnerability.
  • Restrict or remove access to the System and Server Status module for low‑privileged accounts, or disable the email template feature if it is not required.
  • If an upgrade is not immediately possible, audit and sanitize the email template description field to strip or encode script content and monitor for suspicious activity.

Generated by OpenCVE AI on May 26, 2026 at 02:22 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
CPEs cpe:2.3:a:webmin:webmin:*:*:*:*:*:*:*:*
Type Values Removed Values Added
Description Webmin before 2.641 contains a stored cross-site scripting vulnerability in the email template description field of the System and Server Status module that allows low-privileged authenticated attackers to execute arbitrary commands by injecting unsanitized input stored in save_tmpl.cgi and rendered unescaped in list_tmpls.cgi. Webmin before 2.641 contains a stored cross-site scripting vulnerability in the email template description field of the System and Server Status module that allows low-privileged authenticated attackers to execute arbitrary JavaScript in the browser context of administrators by injecting unsanitized input stored in save_tmpl.cgi and rendered unescaped in list_tmpls.cgi.
Type Values Removed Values Added
Metrics ssvc

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

Type Values Removed Values Added
First Time appeared Webmin
Webmin webmin
Vendors & Products Webmin
Webmin webmin
Type Values Removed Values Added
Description Webmin before 2.641 contains a stored cross-site scripting vulnerability in the email template description field of the System and Server Status module that allows low-privileged authenticated attackers to execute arbitrary commands by injecting unsanitized input stored in save_tmpl.cgi and rendered unescaped in list_tmpls.cgi.
Title Webmin < 2.641 Stored XSS via System and Server Status
Weaknesses CWE-79
References
Metrics cvssV3_1

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

cvssV4_0

{'score': 5.1, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/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
Jul 14, 2026, 3:53 PM
Reserved
Jan 8, 2026, 7:04 PM
Status
Modified
Published
May 21, 2026, 10:16 PM
Modified
Jul 23, 2026, 4:10 PM