CVE-2024-0658: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in f1logic Insert PHP Code Snippet
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.
AI Analysis
Technical Summary
CVE-2024-0658 is a stored cross-site scripting vulnerability in the Insert PHP Code Snippet plugin for WordPress, affecting all versions up to and including 1.3.4. The vulnerability occurs due to improper neutralization of input during web page generation, specifically insufficient sanitization and escaping of the user's name on the insert-php-code-snippet-manage page. Exploitation requires authenticated administrator-level access and affects multi-site WordPress installations or those with unfiltered_html disabled. Successful exploitation allows injection of arbitrary web scripts that execute when the affected page is viewed.
Potential Impact
An authenticated attacker with administrator privileges can inject malicious scripts that execute in the context of the affected site, potentially leading to limited confidentiality and integrity impacts such as session hijacking or defacement. The vulnerability does not affect availability and requires high privileges and specific configuration (multi-site or unfiltered_html disabled) to be exploitable.
Mitigation Recommendations
No official patch or fix is currently available for this vulnerability. Users should monitor the vendor's advisory for updates. Until a fix is released, limit administrator access to trusted users only and consider disabling or removing the Insert PHP Code Snippet plugin in multi-site environments or where unfiltered_html is disabled to reduce risk.
CVE-2024-0658: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in f1logic Insert PHP Code Snippet
Description
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.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2024-0658 is a stored cross-site scripting vulnerability in the Insert PHP Code Snippet plugin for WordPress, affecting all versions up to and including 1.3.4. The vulnerability occurs due to improper neutralization of input during web page generation, specifically insufficient sanitization and escaping of the user's name on the insert-php-code-snippet-manage page. Exploitation requires authenticated administrator-level access and affects multi-site WordPress installations or those with unfiltered_html disabled. Successful exploitation allows injection of arbitrary web scripts that execute when the affected page is viewed.
Potential Impact
An authenticated attacker with administrator privileges can inject malicious scripts that execute in the context of the affected site, potentially leading to limited confidentiality and integrity impacts such as session hijacking or defacement. The vulnerability does not affect availability and requires high privileges and specific configuration (multi-site or unfiltered_html disabled) to be exploitable.
Mitigation Recommendations
No official patch or fix is currently available for this vulnerability. Users should monitor the vendor's advisory for updates. Until a fix is released, limit administrator access to trusted users only and consider disabling or removing the Insert PHP Code Snippet plugin in multi-site environments or where unfiltered_html is disabled to reduce risk.
Technical Details
- Data Version
- 5.1
- Assigner Short Name
- Wordfence
- Date Reserved
- 2024-01-17T16:06:53.332Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 699f6de3b7ef31ef0b59022b
Added to database: 2/25/2026, 9:47:15 PM
Last enriched: 4/9/2026, 5:38:02 AM
Last updated: 4/11/2026, 5:51:58 PM
Views: 17
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.