CVE-2026-134631 Webmin through 2.670 Stored XSS via LDAP Samba Attributes in edit_user.cgi

Published Updated

Attackers with LDAP write access can store scripts in Webmin user attributes that run in administrators' browsers.

CVSS score

Medium

4.8/10

CVSS 4.0 · Scored by VulnCheck Breakdown
Exploited in the wild
Not known
Not in CISA's KEV catalogue
Exploit code
None known
No public exploit found
Fix
None listed
No fixed version published
Attack path
Over the internet
Admin access, a user must click or open something

What is CVE-2026-134631?

CVE-2026-134631 is a medium-severity cross-site scripting vulnerability in webmin, published on 25 Nov 2026. An attacker needs administrator access to exploit it, and only if a user opens a file or follows a link.

Official description

Webmin through 2.670 contains a stored cross-site scripting vulnerability in ldap-useradmin/edit_user.cgi that allows attackers to inject markup through the LDAP sambaAcctFlags and sambaBadPasswordCount attributes, which are rendered without HTML encoding. Attackers with LDAP write access to these attributes can store malicious scripts that execute in a Webmin administrator's browser when the user entry is opened in the editor.

Weakness: CWE-79

How severe is CVE-2026-134631?

CVE-2026-134631 scores 4.8 out of 10 under CVSS 4.0, which is medium severity. It was scored by VulnCheck.

Attack vector
Network
Attack complexity
Low
Attack requirements
None
Privileges required
High
User interaction
Passive
Confidentiality
Low
Integrity
Low
Availability
None

CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N

Which versions are affected by CVE-2026-134631?

1 open source package ship an affected version, including webmin/webmin.

Only installations with a non-default setting turned on are exposed.

PackageAffectedFixed in
webmin/webmin GitHub
pkg:github/webmin/webmin
All versions to 2.670None

How do I fix CVE-2026-134631?

No fix has been published for CVE-2026-134631 yet. Limit exposure of the affected software until one is available.

Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.

Is CVE-2026-134631 being exploited?

There is no known exploitation of CVE-2026-134631 in the wild and no public exploit code.

Sources

Also known as GHSA-4wcv-h787-36cx.

Is CVE-2026-134631 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free