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

2025-08-25 00:00
Bao - BlueRock

Strategic Overview

Status
Patched in 1.23
Affected PluginAdd Code To Head
Affected Version<= 1.17
CVSS4.4Medium
CVECVE-2025-48314
View all Add Code To Head vulnerabilities

Vulnerability Overview

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.

Technical Analysis

REMEDIATION: Update to version 1.23, or a newer patched version --- IDENTIFIER: CWE-79 (Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')) The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.

External References

Vulnerability data © Defiant, Inc., provided under the Wordfence Intelligence T&C