CVE-2024-0658 MEDIUM

CVE-2024-0658: Insert PHP Code Snippet <= 1.3.4 - Authenticated (Admin+) Stored Cross-Site Scripting

Vendor F1Logic
Product Insert PHP Code Snippet
Weakness CWE-79 · XSS
Published February 20, 2024
Last update April 8, 2026

CVSS base score

4.4/10
Attack vector Network
Attack complexity High
Privileges required High
User interaction None
Confidentiality Low
Integrity Low

CVSS vector

CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:L/I:L/A:N

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

Related vulnerabilities

08Related CVE