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

- Severity: Critical 9.6 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.61%, higher than 44% of CVEs (2026-11-30)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2022-02-28T09:06:28.000Z
- Modified: 2026-06-17T03:41:18.440Z
- Weaknesses: CWE-352
- Assigned by: WPScan

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

(As written by CVE List.)

## Affected

- Unknown Post Snippets: from 3.1.4 before 3.1.4
- postsnippets post_snippets: before 3.1.4

## Every score

- NVD: CVSS:3.1 9.6 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H`
- NVD: CVSS:2.0 6.8 Medium `AV:N/AC:M/Au:N/C:P/I:P/A:P`

## References

- <https://wpscan.com/vulnerability/d1ebd15a-72ab-4ba2-a212-7e2eea0b0fb0> (exploit, third-party-advisory)

## Sources

- CVE List: [CVE-2021-25010](https://www.cve.org/CVERecord?id=CVE-2021-25010), CVE Terms of Use, modified 2024-08-03
- NVD: [CVE-2021-25010](https://nvd.nist.gov/vuln/detail/CVE-2021-25010), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-25010 · Whole record: https://cve.day/CVE-2021-25010.json · Rebuilt by cve.day 2026-11-25T22:58:07.082Z
