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.
Published: 2026-11-09
Score: 5.1 Medium
EPSS: n/a
KEV: No
Impact: Stored XSS allowing arbitrary script execution in admin browsers
Action: Apply Patch
AI Analysis

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.

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

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 yet.

History

Mon, 09 Nov 2026 23:45:00 +0000

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'}


cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-11-09T23:27:57.298Z

Reserved: 2026-11-09T22:03:12.175Z

Link: CVE-2026-125392

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Deferred

Published: 2026-11-10T00:17:13.007

Modified: 2026-11-10T00:17:13.143

Link: CVE-2026-125392

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-11-10T01:15:07Z

Weaknesses
  • CWE-79

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