CVE-2021-25010 Post Snippets < 3.1.4 - CSRF to Stored Cross-Site Scripting
Attackers can exploit CSRF to inject malicious scripts via file import, leading to stored XSS and potential admin account takeover.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2021-25010?
CVE-2021-25010 is a critical cross-site scripting vulnerability in Unknown Post Snippets, published on 28 Feb 2022. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official 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
Weakness: CWE-352
Which versions are affected by CVE-2021-25010?
It affects 1 product.
Products include Postsnippets Post Snippets.
How do I fix CVE-2021-25010?
No fix has been published for CVE-2021-25010 yet. Limit exposure of the affected software until one is available.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2021-25010 being exploited?
There is no known exploitation of CVE-2021-25010 in the wild and no public exploit code.
Other vulnerabilities in Unknown Post Snippets
Sources
Also known as GHSA-x3f9-wfr9-6xw8.