Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate as low-priv MySQL user
-
DeliveryCreate/alter column with HTML payload
-
ExploitPayload stored in schema
-
ExecutionAdmin opens table in view_table.cgi
-
ImpactScript runs in admin's 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 | Requires an authenticated MySQL account with CREATE or ALTER privilege on a database managed via Webmin - the attacker uses this to embed an HTML/JavaScript payload in a column name. Exploitation is NOT self-triggering: it fires only when a Webmin administrator subsequently views the affected table through the MySQL module's view_table.cgi page (UI:P / passive admin interaction). Limiting factors: the attacker must already hold DB schema-modification privileges (PR:L), the target table must be one an admin will actually open, and installations must be at or below Webmin 2.670 with the MySQL module in use; patched builds (post-commit 960eed1) escape the column name and defeat the attack. |
| Impact | This is a genuine but bounded, mid-tier priority - not a high-CVSS/low-real-risk mirage, but also not an emergency. The vuln.today decision label is 'this_month' (not act_now/emergency), and no CISA KEV listing or EPSS score is present in the input, so there is no signal of active or widespread exploitation. The CVSS 4.0 vector (AV:N/AC:L/PR:L/UI:P) correctly captures the core constraints: exploitation is network-reachable and low-complexity, but requires an authenticated MySQL account holding CREATE or ALTER privilege (PR:L) AND passive interaction from a Webmin administrator who later views the affected table (UI:P). Impact is limited (VC:L/VI:L) - a stored XSS running in the admin's Webmin session, with a scope/subsequent-system effect (SC:L/SI:L) reflecting that the payload executes in a higher-trust context than the attacker's own. The practical risk is therefore 'malicious or compromised DB user escalates toward Webmin admin,' which is meaningful in multi-tenant or shared-database environments but irrelevant where only trusted operators hold DB schema privileges. A vendor patch exists (commit 960eed1), reducing urgency further. Missing data: no EPSS, no KEV, and PoC status is not explicitly confirmed in the input. |
| Exploit ScenarioDerived | A low-privileged MySQL user (holding only CREATE or ALTER on some database managed through Webmin) creates or alters a table so that a column name contains an HTML/JavaScript payload. Later, a Webmin administrator opens that table in the MySQL module's view_table.cgi page, and the unescaped column name renders, executing the attacker's script in the administrator's authenticated Webmin session. A research/PoC reference (Zenodo DOI and VulnCheck advisory) is linked, but the input does not confirm it as working exploit code. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 25, 2026
Stored cross-site scripting in Webmin through 2.670 allows an authenticated MySQL user holding CREATE or ALTER privileges to embed an HTML/JavaScript payload in a column name, which is rendered unescaped by the MySQL module's view_table.cgi page and executes in a Webmin administrator's session when that table is opened. The attack is not self-triggering: it requires a privileged database account to plant the payload and a passive administrator visit to the affected table to fire (CVSS 4.0 5.1, PR:L/UI:P, scope changed). No public exploit code is identified at time of analysis; the exposure is bounded to installations at or below 2.670 that actively use the MySQL module and whose administrators browse administrator-controlled table schemas.
RemediationAI
Apply the upstream fix commit 960eed1cba106b3209eedaec2891046183e9a5d2 (https://github.com/webmin/webmin/commit/960eed1cba106b3209eedaec2891046183e9a5d2), which html_escape()s the sort field and urlize()s the sortfield/sortdir link parameters in mysql/view_table.cgi; because the fix is published as a commit rather than a confirmed tagged release, verify that the release or package you deploy actually contains this change before considering the host remediated. No vendor workaround is documented in the available sources, so until the fixed code is in place the practical compensating control is to tighten the prerequisite the exploit depends on: restrict CREATE and ALTER privileges on databases administered through Webmin to accounts that are genuinely trusted, since a user without schema-modification rights cannot plant a payload in a column name - the trade-off is reduced flexibility for legitimate schema-maintenance accounts and possible disruption of application migrations. Reviewing existing column names in managed databases for embedded markup and renaming any that are found also removes payloads already stored, and reviewing Webmin issue 2941 (https://github.com/webmin/webmin/issues/2941) plus the VulnCheck advisory provides the vendor and third-party context for tracking the fix.
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
Webmin's MySQL module is implemented as Perl CGI scripts, and view_table.cgi interpolates the sort field and column names directly into generated HTML at the code points around line 258 and line 514 without output encoding. Because MySQL permits identifiers (column names) to contain arbitrary characters when quoted, a user with CREATE or ALTER privilege can persist markup inside the schema itself, making the payload storage-resident rather than request-reflected. The flaw is CWE-79 (improper neutralization of input during web page generation) in its stored variant, with the added wrinkle that the injection point is a database identifier rather than ordinary row data, so escaping applied to result values does not cover it. The upstream fix commit 960eed1cba106b3209eedaec2891046183e9a5d2 wraps the sortfield value in html_escape() and applies urlize() to the sortfield/sortdir parameters used in the column header link and the bolded column label, neutralizing both the HTML and URL contexts. Per the CPE cpe:2.3:a:webmin:webmin:*:*:*:*:*:*:*:* the affected range is Webmin through 2.670.
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:L/AT:N/PR:L/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N
Attacker needs an authenticated MySQL CREATE/ALTER account (PR:L) and an admin must view the table (UI:R); payload executes in the higher-trust Webmin session (S:C) with limited C/I impact and no availability loss.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
Webmin through 2.670 contains a stored cross-site scripting vulnerability in mysql/view_table.cgi that allows MySQL users to inject scripts via unescaped column names. Attackers with CREATE or ALTER privilege can create columns containing HTML payloads that execute in a Webmin administrator's session when the table is viewed.
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 XSS Stored and Reflected Vulnerabilities
View all 9An 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-134931
GHSA-rq6v-vr9c-gr6p
NVD
CVE.org
EPSS
Exploit-DB