CVE-2021-24211 WordPress Related Posts <= 3.6.4 - Authenticated Stored Cross-Site Scripting (XSS)
An authenticated admin can inject JavaScript into the plugin settings, leading to code execution in other users' browsers.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2021-24211?
CVE-2021-24211 is a medium-severity cross-site scripting vulnerability in Unknown WordPress Related Posts, published on 5 Apr 2021. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.
Official description
The WordPress Related Posts plugin through 3.6.4 contains an authenticated (admin+) stored XSS vulnerability in the title field on the settings page. By exploiting that an attacker will be able to execute JavaScript code in the user's browser.
Weakness: CWE-79
Which versions are affected by CVE-2021-24211?
It affects 1 product.
Products include Sovrn Wordpress Related Posts.
How do I fix CVE-2021-24211?
No fix has been published for CVE-2021-24211 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-24211 being exploited?
There is no known exploitation of CVE-2021-24211 in the wild and no public exploit code.
Sources
Also known as GHSA-c83m-879x-3hmh.