CVE-2021-24482 Related Posts for WordPress <= 2.0.4 - Authenticated Stored XSS & XFS
Administrators can inject malicious scripts via unsanitized heading and CSS settings in the Related Posts for WordPress plugin.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2021-24482?
CVE-2021-24482 is a medium-severity cross-site scripting vulnerability in Unknown Related Posts for WordPress, published on 19 Jul 2021. An attacker needs administrator access to exploit it, and only if a user opens a file or follows a link.
Official description
The Related Posts for WordPress plugin through 2.0.4 does not sanitise its heading_text and CSS settings, allowing high privilege users (admin) to set XSS payloads in them, leading to Stored Cross-Site Scripting issues.
Weakness: CWE-79
Which versions are affected by CVE-2021-24482?
It affects 1 product.
Products include Never5 Related Posts.
How do I fix CVE-2021-24482?
No fix has been published for CVE-2021-24482 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-24482 being exploited?
There is no known exploitation of CVE-2021-24482 in the wild and no public exploit code.
Other vulnerabilities in Unknown Related Posts for WordPress
- CVE-2015-9361 Cross-site scripting in n/a
- CVE-2022-3506 Cross-site Scripting (XSS) - Stored in barrykooij/related-posts-for-wp
- CVE-2024-0592 Related Posts for WordPress <= 2.2.1 - Cross-Site Request Forgery
- CVE-2021-24180 Related Posts for WordPress < 2.0.4 - Authenticated Reflected Cross-Site Scripting (XSS)
Sources
Also known as GHSA-fcp3-3hf6-755h.