Cross-site scripting in WordPress - #VU168245

 

Cross-site scripting in WordPress - #VU168245

Published: November 19, 2026


Vulnerability identifier: #VU168245
CSH Severity: Medium
CVSS v4: 2.1 [CVSS:4.0/AV:N/AC:L/AT:P/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 visitor's browser in the context of the affected WordPress site.

The vulnerability exists due to missing HTML attribute escaping in wp_interactivity_data_wp_context() when it renders the store namespace. A remote attacker can supply an untrusted store namespace through a plugin or theme that passes it to the function to trigger script execution when a visitor views the affected page.


Affected software

WordPress

Remediation

Install security update from vendor's website.

WordPress - addressed in versions 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