WordPress Plugin Vulnerabilities

Add Code To Head < 1.23 - Authenticated (Administrator+) Stored Cross-Site Scripting

Description

The Add Code To Head plugin for WordPress is vulnerable to Stored Cross-Site Scripting in versions up to, and including, 1.17 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with administrator-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. This only impacts multi-site installations and installations where unfiltered_html has been disabled.

Affects Plugins

Fixed in 1.23

References

Classification

Type
XSS
CWE

Miscellaneous

Original Researcher
Bao - BlueRock
Verified
No

Timeline

Publicly Published
2025-08-25 (about 1 year ago)
Added
2025-09-03 (about 1 year ago)
Last Updated
2026-04-25 (about 4 months ago)

Other