CVE-2026-22678: Webmin < 2.641 Stored XSS via System and Server Status
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.
Security readout for executives and security teams
Plain-English summary
A low-privileged Webmin user can store malicious script in an email template description. When an administrator later views the System and Server Status template list, that script can run in the administrator’s browser. This is not a server takeover by itself, but it can undermine administrator trust and session safety.
Executive priority
Treat as a timely patching item for Webmin environments with multiple administrators or delegated users. Prioritize internet-accessible or shared-management deployments, but do not treat as confirmed actively exploited based on the supplied evidence.
Technical view
Webmin before 2.641 has stored XSS in the System and Server Status module. Unsanitized input is stored through save_tmpl.cgi and rendered unescaped by list_tmpls.cgi. The CVSS 3.1 score is 5.4, with low attack complexity, low privileges required, and administrator user interaction required.
Likely exposure
Exposure is most likely where Webmin versions before 2.641 are deployed and low-privileged authenticated users can access or modify System and Server Status email template descriptions.
Exploitation context
The source bundle does not show CISA KEV listing or active exploitation evidence. Exploitation requires an authenticated low-privileged user and an administrator later viewing the affected template list.
Researcher notes
The weakness maps to CWE-79. The important conditions are authenticated write access to the description field, persistent storage through save_tmpl.cgi, and unescaped rendering in list_tmpls.cgi. The bundle does not provide broader affected branch details beyond versions before 2.641.
Mitigation direction
Upgrade Webmin to version 2.641 or later.
Review Webmin vendor release notes and advisory guidance.
Restrict low-privileged access to template management features.
Audit existing email template descriptions for unexpected script-like content.
Validation and detection
Inventory Webmin instances and confirm their versions.
Identify users allowed to edit System and Server Status templates.
Confirm template descriptions render as escaped text after update.
Review administrative access logs around template changes and views.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cwe · medium confidence lookup
CWE-79: User-session and phishing behavior lookup
Client-side and session-facing weaknesses should be reviewed alongside initial-access and user-execution behaviors. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.
CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.
CWE-79 · source CWE mapping
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.