Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessPosition as hostile MySQL server or on-path on plaintext link
-
DeliveryAdmin opens Webmin MySQL module
-
ExploitReturn markup in error packet or version string
-
ExecutionUnescaped render in mysql/index.cgi
-
ImpactExecute JavaScript in Webmin session
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires that a Webmin administrator actively use the MySQL module (mysql/index.cgi) to connect to a MySQL server that the attacker controls or can intercept - specifically a malicious MySQL server operator, or an on-path attacker on an unencrypted plaintext MySQL connection who can inject markup into error packets or server version strings. Limiting factors: the attacker must supply the malicious response (passive attack requirement, AT:P), the admin must take the triggering action of initiating the MySQL connection (UI:P), and complexity is high (AC:H) because the attacker needs the privileged network/server position; a TLS-protected MySQL connection to a trusted server removes the on-path vector. Impact is confined to the authenticated Webmin user's session. |
| Impact | This is a genuinely low-priority issue, and the multiple signals agree rather than conflict. The vendor-assigned CVSS 4.0 score is 2.3 (Low), and the vector (AV:N/AC:H/AT:P/PR:N/UI:P/VC:L/VI:L) describes a reflected XSS that fires only through an attacker-controlled MySQL server or an on-path position on a plaintext connection, combined with high attack complexity (AC:H), a passive attack requirement (AT:P), and required user interaction (UI:P) from an authenticated Webmin operator viewing the MySQL module. The vuln.today decision label is 'monitor', consistent with the low score. No EPSS probability, no CISA KEV listing, and no confirmed public exploit code were supplied, so there is no evidence of active exploitation or mass scanning. None of the references is a working-exploit reference - they are the vendor source, a GitHub issue, a VulnCheck advisory, and a Zenodo DOI. The one caveat worth stating: PR:N (no privileges on the vulnerable Webmin host) is technically correct because the attacker is the remote MySQL/network party, but exploitation only matters once a legitimate Webmin admin is induced to connect their MySQL module to the hostile server, so real-world impact is self-limiting. Treat as a low-urgency hygiene fix, not an emergency. |
| Exploit ScenarioDerived | A Webmin administrator uses the MySQL module to connect to a database server that is either controlled by a malicious operator or sits behind an on-path attacker on an unencrypted (plaintext) link. The server returns a crafted connection-error packet or version string containing HTML/JavaScript, which Webmin renders unescaped in mysql/index.cgi, executing script in the admin's authenticated Webmin session. No public exploit identified at time of analysis; the flaw is documented only in advisories and the vendor issue tracker. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 25, 2026
Cross-site scripting in Webmin through 2.670's MySQL module (mysql/index.cgi) allows a malicious MySQL server operator or an on-path attacker on a plaintext MySQL connection to inject markup through error packets or server version strings and execute JavaScript in an authenticated Webmin user's session. Exploitation requires the Webmin administrator to initiate a connection to the attacker-controlled or intercepted server, and the assessed vector (CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N) reflects high complexity, no attacker Webmin credentials, and user interaction; a TLS-protected connection to a trusted MySQL server removes the on-path vector. No public exploit identified at time of analysis, and the issue is assessed as a genuinely low-priority issue under the monitor decision label.
RemediationAI
Patch status is not confirmed by an exact fixed version in the supplied data; consult Webmin issue 2941 (https://github.com/webmin/webmin/issues/2941) and the VulnCheck advisory (https://www.vulncheck.com/advisories/webmin-through-2.670-xss-via-mysql-module-mysql-index-cgi) and upgrade Webmin beyond 2.670 once a fixed release is published. Until then, limit exposure by using the MySQL module only against trusted MySQL servers and enforcing TLS on those connections so error packets and version strings cannot be modified on-path; this removes the on-path attack vector but does not protect an administrator who deliberately connects to a malicious MySQL server. The trade-off is the added configuration and certificate-management overhead of TLS, and the residual risk from a compromised or hostile MySQL endpoint.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The flaw is CWE-79 (improper neutralization of input during web page generation, i.e., cross-site scripting): Webmin's MySQL module takes MySQL connection error text and server version strings and places them into generated HTML without escaping. In Webmin 2.670, the referenced sinks are mysql/index.cgi lines 87 and 143; the supplied CPE cpe:2.3:a:webmin:webmin:*:*:*:*:*:*:*:* is a wildcard range consistent with the description's 'through 2.670' bound. The attacker must be able to return crafted MySQL responses, either by operating the MySQL server or by intercepting a plaintext connection; because the markup is rendered in the administrator's browser, the script executes in the Webmin session context (scope changed). The independent assessment rates this AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N, noting that TLS to a trusted MySQL server removes the on-path vector but does not address a malicious server the administrator deliberately connects to.
Know when Webmin gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N
Attacker must control/intercept the MySQL response and the admin must trigger the connection, so AC:H and UI:R; S:C for cross-context script execution; limited C/I, no availability impact.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
Webmin through 2.670 contains a cross-site scripting vulnerability in mysql/index.cgi that renders MySQL connection error text and server version strings without escaping. Malicious MySQL server operators or on-path attackers on plaintext connections can return markup in error packets or version strings to execute JavaScript in Webmin user sessions.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
Related Vulnerabilities in Webmin Multiple Security Vulnerabilities
View all 34An issue was discovered in Webmin <=1.920. Rated critical severity (CVSS 9.8), this vulnerability is remotely exploitabl
file/show.cgi in Webmin 1.590 and earlier allows remote authenticated users to execute arbitrary commands via an invalid
file/edit_html.cgi in Webmin 1.590 and earlier does not perform an authorization check before showing a file's unedited
software/apt-lib.pl in Webmin before 1.997 lacks HTML escaping for a UI command. Rated critical severity (CVSS 9.8), thi
Improper Access Control to Remote Code Execution in GitHub repository webmin/webmin prior to 1.990. Rated high severity
In Webmin through 1.910, any user authorized to the "Package Updates" module can execute arbitrary commands with root pr
SSRF exists in Webmin 1.850 via the PATH_INFO to tunnel/link.cgi, as demonstrated by a GET request for tunnel/link.cgi/h
Webmin 1.900 allows remote attackers to execute arbitrary code by leveraging the "Java file manager" and "Upload and Dow
Usermin 0.980 through 1.x before 1.660 allows uconfig_save.cgi sig_file_free remote code execution because it uses the t
Webmin 1.973 is affected by reflected Cross Site Scripting (XSS) to achieve Remote Command Execution through Webmin's ru
CSRF exists in Webmin 1.850. Rated high severity (CVSS 8.8), this vulnerability is remotely exploitable, no authenticati
Usermin through 1.850 allows a remote authenticated user to execute OS commands via command injection in a filename for
EUVD-2026-134912
GHSA-929x-r9g2-v4xh
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB