CVE-2021-24176 JH 404 Logger <= 1.1 - Unauthenticated Stored Cross-Site Scripting (XSS)
Unauthenticated attackers can inject arbitrary JavaScript into the WordPress dashboard via unsanitized 404 logs, potentially compromising admin accounts.
- 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-24176?
CVE-2021-24176 is a medium-severity cross-site scripting vulnerability in Unknown JH 404 Logger, 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 JH 404 Logger WordPress plugin through 1.1 doesn't sanitise the referer and path of 404 pages, when they are output in the dashboard, which leads to executing arbitrary JavaScript code in the WordPress dashboard.
Weakness: CWE-79
Which versions are affected by CVE-2021-24176?
It affects 1 product.
Products include Jh 404 Logger Project Jh 404 Logger.
How do I fix CVE-2021-24176?
No fix has been published for CVE-2021-24176 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-24176 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2021-24176 exists.
Public exploit code: 1 Nuclei template.
Sources
Also known as GHSA-w784-3vvf-4384.