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

Cross-Site Request Forgery (CSRF)
CVE CVE-2021-25010
CVSS Critical (9.6)
Publicly Published January 31, 2022
Last Updated January 22, 2024
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

1 affected software package

Software Type Plugin
Software Slug post-snippets (view on wordpress.org)
Patched? Yes
Affected Version
  • <= 3.1.3
Patched Version
  • 3.1.4
This record contains material that is subject to copyright

Copyright 2012-2026 Defiant Inc.
License: Defiant hereby grants you a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute this software vulnerability information. Any copy of the software vulnerability information you make for such purposes is authorized provided that you include a hyperlink to this vulnerability record and reproduce Defiant's copyright designation and this license in any such copy. License Detail.