CVE-2021-24545 WP HTML Author Bio <= 1.2.0 - Author+ Stored Cross-Site Scripting
Authors can inject malicious JavaScript into their bio, leading to XSS and potential privilege escalation when admins view posts.
- 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-24545?
CVE-2021-24545 is a medium-severity cross-site scripting vulnerability in Unknown WP HTML Author Bio, published on 11 Oct 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 WP HTML Author Bio WordPress plugin through 1.2.0 does not sanitise the HTML allowed in the Bio of users, allowing them to use malicious JavaScript code, which will be executed when anyone visit a post in the frontend made by such user. As a result, user with a role as low as author could perform Cross-Site Scripting attacks against users, which could potentially lead to privilege escalation when an admin view the related post/s.
Weakness: CWE-79
Which versions are affected by CVE-2021-24545?
It affects 1 product.
Products include Wp Html Author Bio Project Wp Html Author Bio.
How do I fix CVE-2021-24545?
No fix has been published for CVE-2021-24545 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-24545 being exploited?
There is no known exploitation of CVE-2021-24545 in the wild and no public exploit code.
Public exploit code: 2 proofs of concept on GitHub.
Sources
Also known as GHSA-xv7x-q4ch-37fx.