Description
The Header and Footer Scripts plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the _inpost_head_script parameter in all versions up to, and including, 2.2.2 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with Contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.
Problem types
CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Product status
* (semver)
Timeline
| 2025-09-25: | Discovered |
| 2026-01-08: | Disclosed |
Credits
Powpy
References
www.wordfence.com/...-8cc7-4653-af3c-407b6f73fb7b?source=cve
plugins.trac.wordpress.org/...er-scripts/tags/2.2.2/shfs.php