Post Snippets <= 3.1.3 - Cross-Site Request Forgery to Stored Cross-Site Scripting

9.6
Cross-Site Request Forgery (CSRF)
CVE CVE-2021-25010
CVSS 9.6 (Critical)
Publicly Published January 31, 2022
Last Updated January 27, 2023
Researcher Muhammad Adel

Description

The Post Snippets WordPress plugin before 3.1.4 does not have CSRF check when importing files, allowing attacker to make a logged In admin import arbitrary snippets. Furthermore, imported snippers are not sanitised and escaped, which could lead to Stored Cross-Site Scripting issues

References

Share

Vulnerability Details for Post Snippets – Custom WordPress Code Snippets Customizer

Software Type Plugin
Software Slug post-snippets (view on wordpress.org)
Patched? Yes
Remediation Update to version 3.1.4, or a newer patched version
Affected Version
  • <= 3.1.3
Patched Version
  • 3.1.4

Recent vulnerabilities in Post Snippets – Custom WordPress Code Snippets Customizer

# Title CVE ID CVSS Researchers Date
1 Post Snippets – Custom WordPress Code Snippets Customizer <= 4.0.19 - Authenticated (Contributor+) Remote Code Execution CVE-2026-56049 8.8 daroo June 25, 2026
2 Post Snippets <= 4.0.19 - Authenticated (Administrator+) Stored Cross-Site Scripting via Import CVE-2026-7430 4.4 a1batr0ss May 28, 2026
3 Post Snippets – Custom WordPress Code Snippets Customizer <= 4.0.12 - Authenticated (Contributor+) Remote Code Execution CVE-2026-25001 8.8 Doan Dinh Van (d52v) March 16, 2026
4 Post Snippets <= 4.0.11 - Cross-Site Request Forgery CVE-2025-63040 4.3 Nabil Irawan December 31, 2025
5 Freemius SDK <= 2.5.9 - Reflected Cross-Site Scripting via fs_request_get CVE-2023-33999 6.1 Rafie Muhammad July 18, 2023
6 Post Snippets <= 4.0.2 - Authenticated (Administrator+) Stored Cross-Site Scripting via 'snippet_content' CVE-2023-25459 4.4 Abdi Pranata May 9, 2023
7 Freemius SDK <= 2.4.2 - Missing Authorization Checks CVE-2022-4974 6.3 March 4, 2022
8 Freemius SDK <= 2.2.3 - Missing Authorization to Arbitrary Options Update 8.8 February 25, 2019

Did you know Wordfence Intelligence provides free personal and commercial API access to our comprehensive WordPress vulnerability database, along with a free webhook integration to stay on top of the latest vulnerabilities added and updated in the database? Get started today!

Learn more

Want to get notified of the latest vulnerabilities that may affect your WordPress site?
Install Wordfence on your site today to get notified immediately if your site is affected by a vulnerability that has been added to our database.

Get Wordfence

The Wordfence Intelligence WordPress vulnerability database is completely free to access and query via API. Please review the documentation on how to access and consume the vulnerability data via API.

Documentation