{"schemaVersion":4,"id":"CVE-2026-134340","aliases":[],"status":"published","duplicateOf":null,"title":"Webmin through 2.670 Stored XSS via Servers Index Discovery realhost Field","description":"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.","dates":{"published":"2026-11-25T03:21:26.808Z","modified":"2026-11-25T12:48:57.256Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":5.2,"severity":"medium","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"4.0","versionLabel":"v4.0","source":"CVE.org","score":5.1,"severity":"medium","vector":"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","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":5.2,"severity":"medium","vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","exploitability":null,"impact":null,"computed":false},{"version":"4.0","versionLabel":"v4.0","source":"NVD","score":5.1,"severity":"medium","vector":"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","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":5.2,"severity":"medium","vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00462,"percentile":0.41752,"severity":"low","asOf":"2026-12-04T00:00:00.000Z","change":{"pp":null,"baselineDate":null,"baselineScore":null},"history":[{"date":"2026-11-25T00:00:00.000Z","score":0.00378,"percentile":null},{"date":"2026-11-26T00:00:00.000Z","score":0.00462,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.00462,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.00462,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.00462,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.00462,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.00462,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.00462,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.00462,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.00462,"percentile":0.41752}],"last30":[{"date":"2026-11-25T00:00:00.000Z","score":0.00378,"percentile":null},{"date":"2026-11-26T00:00:00.000Z","score":0.00462,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.00462,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.00462,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.00462,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.00462,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.00462,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.00462,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.00462,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.00462,"percentile":0.41752}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation","description":"The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.","type":"weakness","status":"Stable","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/79.html"}],"affected":[{"vendor":"webmin","product":"webmin","name":"Webmin","label":"webmin","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≤ 2.670","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"2.670","endInclusive":true}}],"versionsText":"≤ 2.670","eol":null,"hubHref":"/vendor/webmin/webmin"}],"affectedCount":1,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/webmin/webmin/commit/766557590de2a844fe0f3c37de9673b48497b3f9","label":"github.com/webmin/webmin/commit/766557590de2a844fe0f3c37de9673b48497b3f9","hostname":"github.com","tags":["Patch"]},{"url":"https://github.com/webmin/webmin","label":"github.com/webmin/webmin","hostname":"github.com","tags":["Product"]},{"url":"https://github.com/webmin/webmin/blob/2.670/servers/servers-lib.pl#L440","label":"github.com/webmin/webmin/blob/2.670/servers/servers-lib.pl","hostname":"github.com","tags":["Technical Description"]},{"url":"https://github.com/webmin/webmin/blob/2.670/servers/edit_serv.cgi#L49","label":"github.com/webmin/webmin/blob/2.670/servers/edit_serv.cgi","hostname":"github.com","tags":["Technical Description"]},{"url":"https://github.com/webmin/webmin/issues/2941","label":"github.com/webmin/webmin/issues/2941","hostname":"github.com","tags":["Issue Tracking"]},{"url":"https://doi.org/10.5281/zenodo.24396540","label":"doi.org/10.5281/zenodo.24396540","hostname":"doi.org","tags":["Technical Description"]},{"url":"https://www.vulncheck.com/advisories/webmin-through-2.670-stored-xss-via-servers-index-discovery-realhost-field","label":"www.vulncheck.com/advisories/…","hostname":"www.vulncheck.com","tags":["Third Party Advisory"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2026-11-25T03:21:26.808Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-11-25T12:48:57.256Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"priority":{"label":"routine","tag":null,"reason":"Not severe (CVSS 5.1, adjacent network); no exploitation reported by the 5 checked sources","nextStep":"Fix in the normal cadence","rank":[0,0,0,0,0,51],"checkedSources":["cisa","enisa","circl","shadowserver","cisa-adp"],"evidence":[{"type":"epss","source":"FIRST","date":"2026-12-04T00:00:00.000Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"value":0.00462,"stale":false,"promoted":null},{"type":"cvss","source":"cve.org","date":"2026-11-25T12:48:57.256Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":5.1,"vector":"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","version":"4.0","headline":true},{"type":"cvss","source":"cve.org","date":"2026-11-25T12:48:57.256Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":5.2,"vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","version":"3.1"},{"type":"cvss","source":"nvd","date":"2026-11-25T12:48:57.256Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":5.1,"vector":"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","version":"4.0"},{"type":"cvss","source":"nvd","date":"2026-11-25T12:48:57.256Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":5.2,"vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","version":"3.1"},{"type":"adp","source":"cisa-adp","date":"2026-11-25T12:48:30.040Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"exploitation":"none"}],"epss":{"value":0.00462,"date":"2026-12-04T00:00:00.000Z","stale":false,"promoted":null},"sources":[{"id":"cisa","lastSuccessfulSync":"2026-12-05T10:02:10.250Z","state":"fresh"},{"id":"enisa","lastSuccessfulSync":"2026-12-05T10:02:10.837Z","state":"fresh"},{"id":"circl","lastSuccessfulSync":"2026-12-05T10:02:11.033Z","state":"fresh"},{"id":"shadowserver","lastSuccessfulSync":null,"state":"unavailable"},{"id":"cisa-adp","lastSuccessfulSync":"2026-12-05T10:01:03.214Z","state":"fresh"},{"id":"epss","lastSuccessfulSync":"2026-12-05T10:02:08.667Z","state":"fresh"},{"id":"osv","lastSuccessfulSync":"2026-12-05T10:02:07.694Z","state":"fresh"}],"feedEvent":null},"meta":{"dataAsOf":"2026-12-05T10:23:22.824Z","stale":false,"partial":false}}