CVE-2021-24180 Related Posts for WordPress < 2.0.4 - Authenticated Reflected Cross-Site Scripting (XSS)
Authenticated attackers can execute arbitrary scripts in victim browsers via a malicious URL in the Related Posts for WordPress plugin.
- 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-24180?
CVE-2021-24180 is a medium-severity cross-site scripting vulnerability in Unknown Related Posts for WordPress, 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
Unvalidated input and lack of output encoding within the Related Posts for WordPress plugin before 2.0.4 lead to a Reflected Cross-Site Scripting (XSS) vulnerability within the 'lang' GET parameter while editing a post, triggered when users with the capability of editing posts access a malicious URL.
Weakness: CWE-79
Which versions are affected by CVE-2021-24180?
It affects 1 product.
Products include Never5 Related Posts.
How do I fix CVE-2021-24180?
No fix has been published for CVE-2021-24180 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-24180 being exploited?
There is no known exploitation of CVE-2021-24180 in the wild and no public exploit code.
Other vulnerabilities in Unknown Related Posts for WordPress
Sources
Also known as GHSA-6wjh-h2vc-4wfg.