Cross-site scripting in WordPress - #VU168249

 

Cross-site scripting in WordPress - #VU168249

Published: November 19, 2026


Vulnerability identifier: #VU168249
CSH Severity: Medium
CVSS v4: 5.1 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/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 attacker to execute arbitrary script in a victim's browser within the WordPress admin interface, potentially reading data or performing actions within the victim's permissions.

The vulnerability exists due to improper neutralization of user-controlled markup in the legacy media library popup when rendering a REST API error in an HTML page. A remote attacker can trick a logged-in user with file upload permissions into opening a crafted link to execute script in that user's browser.


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