CVE-2023-47666
WordPress vulnerability analysis and mitigation

Overview

A Cross-Site Request Forgery (CSRF) vulnerability was discovered in the WordPress Code Snippets plugin, affecting versions up to 3.5.0. The vulnerability was identified on November 6, 2023, by researcher Huynh Tien Si and was assigned CVE-2023-47666. The issue specifically affects the settings update functionality in the Code Snippets Pro Code Snippets plugin (Patchstack, WPScan).

Technical details

The vulnerability stems from the plugin's lack of CSRF protection mechanisms when updating its settings. This security flaw could allow attackers to make a logged-in administrator change settings via a CSRF attack. The vulnerability has received varying CVSS scores: NIST assigned a high severity score of 8.8 (CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H), while Patchstack rated it as medium severity with a score of 4.3 (CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N). The vulnerability is classified under CWE-352 (Cross-Site Request Forgery) (NVD).

Impact

The vulnerability could allow attackers to make arbitrary changes to the plugin's settings through a CSRF attack when a logged-in administrator visits a malicious page. This could potentially lead to unauthorized modifications of the plugin's configuration (WPScan).

Mitigation and workarounds

The vulnerability has been fixed in version 3.6.0 of the Code Snippets plugin. Users are advised to update to this version or later to remove the vulnerability. Patchstack users can enable auto-update for vulnerable plugins as an additional security measure (Patchstack).

Additional resources


SourceThis report was generated using AI

Related WordPress vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-13604HIGH7.2
  • security-malware-firewall
NoYesDec 09, 2025
CVE-2025-13642MEDIUM5.4
  • wp-user-avatar
NoYesDec 09, 2025
CVE-2025-13924MEDIUM4.3
  • advanced-product-fields-for-woocommerce
NoYesDec 09, 2025
CVE-2025-13071N/AN/A
  • custom-admin-menu
NoNoDec 09, 2025
CVE-2025-13070N/AN/A
  • csv-to-sorttable
NoNoDec 09, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management