CVE-2026-125392

Webmin through 2.670 Stored XSS via BIND8 edit_recs.cgi ALL View

Published Nov 9, 2026 CVSS 4.0 · 5.1 Medium EPSS < 1% KEV · Not listed
Description
Webmin through 2.670 contains a stored cross-site scripting vulnerability in bind8/edit_recs.cgi that outputs raw DNS record values without HTML escaping in ALL view mode. Delegated zone users such as Virtualmin domain owners can store record values containing script that executes in an administrator's browser when viewing zone records.

Analysis

AI-generated

Technical impact

The vulnerability is a stored cross‑site scripting flaw in the bind8/edit_recs.cgi script. DNS record values entered by users are output directly in the ALL view mode without HTML escaping, allowing an attacker to embed malicious JavaScript that will run in any administrator’s browser that views the zone records. Because the script runs with the administrator’s credentials in the browser, it can be used to hijack sessions, steal configuration data, or perform unauthorized actions that appear to originate from the administrator.

Affected Systems

Webmin versions prior to 2.671, specifically Webmin 2.670 and earlier, where the bind8 module is installed. The vulnerability is exploitable by users who have permission to modify DNS zone records, such as delegated zone administrators in Virtualmin or other Webmin installations that delegate zone control.

Risk and Exploitability

The CVSS score of 5.1 indicates a medium severity. EPSS is not available, and the vulnerability is not listed in the CISA KEV catalog. Exploitation requires an attacker to have delegated zone editing privileges and to inject JavaScript into a DNS record. Once a malicious record is stored, any administrator who views the zone in ALL mode will have the script executed in their browser. The attack vector is therefore authenticated but not privileged beyond the standard zone‑write permissions; it does not require remote code execution on the server itself, only client‑side script execution in the administrator’s session.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Webmin to version 2.671 or later, which sanitizes DNS record output in bind8/edit_recs.cgi.
  • If an immediate upgrade is not feasible, restrict delegated zone users from editing or adding DNS records, or disable the ALL view mode in Webmin.
  • As a temporary workaround, manually edit edit_recs.cgi to escape all output or delete any DNS records that contain malicious JavaScript.

Generated by OpenCVE AI on November 10, 2026 at 00:40 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description Webmin through 2.670 contains a stored cross-site scripting vulnerability in bind8/edit_recs.cgi that outputs raw DNS record values without HTML escaping in ALL view mode. Delegated zone users such as Virtualmin domain owners can store record values containing script that executes in an administrator's browser when viewing zone records.
Title Webmin through 2.670 Stored XSS via BIND8 edit_recs.cgi ALL View
First Time appeared Webmin
Webmin webmin
Weaknesses CWE-79
CPEs cpe:2.3:a:webmin:webmin:*:*:*:*:*:*:*:*
Vendors & Products Webmin
Webmin webmin
References
Metrics cvssV3_1

{'score': 5.4, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N'}

cvssV4_0

{'score': 5.1, 'vector': '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'}

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Nov 10, 2026, 4:32 PM
Reserved
Nov 9, 2026, 10:03 PM
Status
Deferred
Published
Nov 10, 2026, 12:17 AM
Modified
Nov 10, 2026, 5:17 PM