CVE-2026-134340
Webmin through 2.670 Stored XSS via Servers Index Discovery realhost Field
Webmin through 2.670 contains a stored cross-site scripting vulnerability in the Servers Index module that allows unauthenticated adjacent attackers to inject scripts via the realhost field of UDP discovery replies. Attackers on the same broadcast domain can answer discovery scans with HTML or JavaScript stored by find_servers() and rendered unescaped by edit_serv.cgi, executing in Webmin user sessions.
Fixes and workarounds
Fix
The reporting source identifies this reference as a patch. Check the advisory for affected versions and supported release branches.
Source: CNA: VulnCheckAffected products and versions
| Product | Versions | Authority |
|---|---|---|
| webmin webmin webmin/webmin
github |
≥ 0; ≤ 2.670 (affected, custom)
Other versions: unaffected |
CNA: VulnCheck |
Version ranges are source assertions. Check the vendor advisory and your installed configuration before determining exposure.
CVSS assessments
| Version / score | Vector | Authority |
|---|---|---|
| 4.0 / 5.1 medium |
CVSS:4.0/AV:A/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N | CNA: VulnCheck |
| 3.1 / 5.2 medium |
CVSS:3.1/AV:A/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N | CNA: VulnCheck |
| 4.0 / 5.1 medium |
CVSS:4.0/AV:A/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X | NVD: [email protected] |
| 3.1 / 5.2 medium |
CVSS:3.1/AV:A/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N | NVD: [email protected] |
Exploit evidence
No exploit evidence in collected sources. This is not proof of no exploitation.
References
- https://github.com/webmin/webmin/commit/766557590de2a844fe0f3c37de9673b48497b3f9CNA: VulnCheck · patch
- https://github.com/webmin/webminCNA: VulnCheck · product
- https://github.com/webmin/webmin/blob/2.670/servers/servers-lib.pl#L440CNA: VulnCheck · technical-description
- https://github.com/webmin/webmin/blob/2.670/servers/edit_serv.cgi#L49CNA: VulnCheck · technical-description
- https://github.com/webmin/webmin/issues/2941CNA: VulnCheck · issue-tracking
- https://doi.org/10.5281/zenodo.24396540CNA: VulnCheck · technical-description
- https://www.vulncheck.com/advisories/webmin-through-2.670-stored-xss-via-servers-index-discovery-realhost-fieldCNA: VulnCheck · third-party-advisory
- https://doi.org/10.5281/zenodo.24396540[email protected]
- https://github.com/webmin/webmin[email protected]
- https://github.com/webmin/webmin/blob/2.670/servers/edit_serv.cgi#L49[email protected]
- https://github.com/webmin/webmin/blob/2.670/servers/servers-lib.pl#L440[email protected]
- https://github.com/webmin/webmin/commit/766557590de2a844fe0f3c37de9673b48497b3f9[email protected]
- https://github.com/webmin/webmin/issues/2941[email protected]
- https://www.vulncheck.com/advisories/webmin-through-2.670-stored-xss-via-servers-index-discovery-realhost-field[email protected]
For agents and automation
Read public disclosures for free as Markdown or JSON. Compatible browsers also expose native WebMCP tools to search disclosures, read this page, and discover API access.
Use the ontology-linked Cyber API with x402 pay per request, or a Y2 Pro or Elite API key with the intel:cyber scope.
Endpoints and access details
https://api.y2.dev/api/v2/cyber/cveshttps://api.y2.dev/api/v2/cyber/cves/{cveId}
A workspace owner or admin can create a Pro or Elite API key. Send Authorization: Bearer <Y2_API_KEY> from your trusted agent runtime.
For x402, omit Authorization and read the HTTP 402 payment challenge before signing a retry. Public browser tools do not make payments.