VYPR
Medium severity5.4NVD Advisory· Published May 21, 2026

CVE-2026-22678

CVE-2026-22678

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.

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

Webmin before 2.641 is vulnerable to stored XSS via unsanitized email template description fields in the System and Server Status module, allowing low-privileged attackers to execute arbitrary commands.

Vulnerability

CVE-2026-22678 is a stored cross-site scripting (XSS) vulnerability in Webmin versions prior to 2.641. The flaw resides in the email template description field of the System and Server Status module. Unvalidated user input entered via save_tmpl.cgi is stored without sanitization and later rendered unescaped by list_tmpls.cgi, enabling persistent script injection [1].

Exploitation

An authenticated attacker with low privileges can exploit this by crafting a malicious payload in the email template description. The stored XSS payload triggers when another user (including an administrator) views the list of templates. No special network position or additional authentication is required beyond standard Webmin credentials [1].

Impact

Successful exploitation allows the attacker to execute arbitrary JavaScript in the context of the victim's session. This can lead to session hijacking, defacement, or further actions such as initiating authenticated Webmin operations on behalf of the victim, including command execution [1].

Mitigation

The vulnerability is patched in Webmin version 2.641, released on 2026-05-21. Users should upgrade immediately. The changelog confirms fixes in the System and Server Status module related to monitor editing, which encompasses the underlying issue [2].

AI Insight generated on May 21, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.

Affected products

2
  • Webmin/Webmininferred2 versions
    <2.641+ 1 more
    • (no CPE)range: <2.641
    • (no CPE)range: < 2.641

Patches

0

No patches discovered yet.

Vulnerability mechanics

AI mechanics synthesis has not run for this CVE yet.

References

2

News mentions

1