Radar sectionsDatabase
Check my site
WordPress plugin

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

CVE-2021-25010Published · Updated

Action summary

Affected: ≤3.1.3Update to 3.1.4 or newer

All remediation steps
Severity
Critical9.6
CVSS
9.6
CVSS 3.1 · CNA (Wordfence)
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
What does this vector mean?
AV:N Attack vector
Network
AC:L Attack complexity
Low
PR:N Privileges required
None
UI:R User interaction
Required
S:C Scope
Changed
C:H Confidentiality
High
I:H Integrity
High
A:H Availability
High
Weakness
CWE-352 CSRF
Required access
No account needed
Exploit prediction (EPSS)
No score
CISA KEV
Not listed

Am I affected?

Post Snippets – Custom WordPress Code Snippets Customizer post-snippets

  1. Affected≤ 3.1.3
  2. Patched in3.1.4

Update to 3.1.4 or newer.

You are affected if you run ≤ 3.1.3. Version 3.1.4 and later are not affected by this issue.

  • Check your version: in wp-admin go to Plugins → Installed Plugins and read the version under Post Snippets – Custom WordPress Code Snippets Customizer.
  • No admin access? Run a passive check of your site. It reads public files only.
  • No account is needed to exploit this. Treat any exposed site on an affected version as at risk.

What to do

  1. Update to version 3.1.4, or a newer patched version
  2. Rotate administrator passwords and application secrets if the site ran a vulnerable version while publicly reachable.
  3. Watch Post Snippets – Custom WordPress Code Snippets Customizer to get an email when the next vulnerability is published.

Advisory

Source description from Wordfence Intelligence, credited to Muhammad Adel.

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

Exploits & references

Proof-of-concept & detection

No public proof-of-concept or detection template is known for this vulnerability.

Advisories & patches

More in Post Snippets – Custom WordPress Code Snippets Customizer

All 11
More vulnerabilities in Post Snippets – Custom WordPress Code Snippets Customizer
SeverityVulnerabilityCVEPublished
Medium6.4Authenticated (Contributor+) Stored Cross-Site Scripting via Shortcode Attributes
≤4.2.4Update to 4.2.5
CVE-2026-77871
Medium6.4Authenticated (Contributor+) Stored Cross-Site Scripting
≤4.2.4No patch available
CVE-2026-12980
High8.8Authenticated (Contributor+) Remote Code Execution
≤4.0.19Update to 4.1.0
CVE-2026-56049
Medium4.4Authenticated (Administrator+) Stored Cross-Site Scripting via Import
≤4.0.19Update to 4.1.1
CVE-2026-7430
High8.8Authenticated (Contributor+) Remote Code Execution
≤4.0.12Update to 4.0.13
CVE-2026-25001

Same weakness (CSRF)

All CSRF
Other CSRF vulnerabilities
SeverityVulnerabilityCVEPublished
High7.2Unauthenticated Stored Cross-Site Scripting via Comment User-Agent HeaderCVE-2026-120688
Critical9.8Unauthenticated Arbitrary File Upload via File Upload via Public Form SubmissionCVE-2026-125055
Critical9.8Unauthenticated PHP Object Injection to Remote Code Execution via 'form' ParameterCVE-2026-119077
Medium5.3Unauthenticated Sensitive Information Exposure in 'search' Parameter
Customer Reviews for WooCommerce≤5.127.0Update to 5.128.0
CVE-2026-121518

Timeline

  1. CVE published

    Severity critical, CVSS 9.6

  2. Record last updated

Sources & licenses

Wordfence record
Vulnerability data
Wordfence Intelligence. [object Object] Licensed under the CC BY-SA 4.0.
CVE® identifiers
[object Object]. Used under the CVE Program. CVE® is a registered trademark of The MITRE Corporation.
CVSS / CWE
National Vulnerability Database (NVD), shown unmodified. This product uses the NVD API but is not endorsed or certified by the NVD.
VulnCrest content
Summary, remediation guidance and page layout © VulnCrest. Not sourced from NVD.

How we use these sources

Search VulnCrest Radar

Are you sure?