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

- Severity: Medium 4.4 (CVSS:3.1, scored by Wordfence) `CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.34%, higher than 29% of CVEs (2026-12-01)
- Published: 2024-02-20T18:56:44.688Z
- Modified: 2026-06-17T06:53:59.180Z
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Wordfence

## 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.

(As written by CVE List.)

## Affected

- f1logic Insert PHP Code Snippet: up to 1.3.4
- f1logic insert_php_code_snippet: before 1.3.5

## Every score

- Wordfence: CVSS:3.1 4.4 Medium `CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:L/I:L/A:N`
- NVD: CVSS:3.1 4.8 Medium `CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N`

## References

- <https://www.wordfence.com/threat-intel/vulnerabilities/id/c4a6b786-d0ef-41f6-b2bf-83307ec02b91?source=cve> (third-party-advisory)
- <https://plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&old=3033503%40insert-php-code-snippet&new=3033503%40insert-php-code-snippet&sfp_email=&sfph_mail=> (patch)

## Sources

- CVE List: [CVE-2024-0658](https://www.cve.org/CVERecord?id=CVE-2024-0658), CVE Terms of Use, modified 2026-04-08
- NVD: [CVE-2024-0658](https://nvd.nist.gov/vuln/detail/CVE-2024-0658), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-0658 · Whole record: https://cve.day/CVE-2024-0658.json · Rebuilt by cve.day 2026-11-25T22:58:37.129Z
