What the vulnerability does
01Description
The Insert PHP Code Snippet plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the user's name when accessing the insert-php-code-snippet-manage page in all versions up to, and including, 1.3.4 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with administrator-level access, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. This only affects multi-site installations and installations where unfiltered_html has been disabled.
Explanation of Vulnerability in Simple Terms
02Summary
Insert PHP Code Snippet versions up to 1.3.4 contain a stored cross-site scripting (XSS) vulnerability. An authenticated administrator can inject malicious scripts that execute in other users' browsers when they view affected pages. The vulnerability has limited scope but can compromise site integrity and user sessions.
What an attacker can do
03Attacker Capabilities
Inject malicious scripts that run in other users' browsers when they view the site.
Potential impact on your site
04Site Impact
Administrators can unknowingly inject malicious code affecting all site visitors and compromising user data or sessions.
Conditions required to exploit
05Prerequisites
Attacker must have administrator privileges; no user interaction required from victims.
Key dates
06Disclosure timeline
February 20, 2024
CVE published
April 8, 2026
Record updated