Cross-site scripting in WordPress - #VU168263

 

Cross-site scripting in WordPress - #VU168263

Published: November 19, 2026


Vulnerability identifier: #VU168263
CSH Severity: Low
CVSS v4: 4.8 [CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N]
CVE-ID: N/A
CWE-ID: CWE-79
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote privileged user to execute arbitrary script in another user's browser in the context of the WordPress site.

The vulnerability exists due to improper sanitization of option values in the WordPress Customizer when rendering draft previews before publication. A remote privileged user can save a draft containing script-bearing option values, even without the unfiltered_html capability, to execute script when another user opens the preview.


Affected software

WordPress

Remediation

Install security update from vendor's website.

WordPress - addressed in versions 4.7.40, 4.8.35, 4.9.36, 5.0.32, 5.1.29, 5.2.31, 5.3.28, 5.4.26, 5.5.25, 5.6.24, 5.7.22, 5.8.20, 5.9.21, 6.0.19, 6.1.17, 6.2.16, 6.3.15, 6.4.15, 6.5.15, 6.6.12, 6.7.12, 6.8.13, 6.9.12, 7.0.9, 7.1.5

External References

Related Security Bulletins