CVE-2021-39345 HAL <= 2.1.1 Authenticated Stored Cross-Site Scripting
Administrators can inject arbitrary scripts in HAL plugin due to missing sanitization when unfiltered_html is disabled.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2021-39345?
CVE-2021-39345 is a medium-severity cross-site scripting vulnerability in HAL, published on 15 Oct 2021. An attacker needs administrator access to exploit it, with no action from the victim.
Official description
The HAL WordPress plugin is vulnerable to Stored Cross-Site Scripting due to insufficient input validation and sanitization via several parameters found in the ~/wp-hal.php file which allowed attackers with administrative user access to inject arbitrary web scripts, in versions up to and including 2.1.1. This affects multi-site installations where unfiltered_html is disabled for administrators, and sites where unfiltered_html is disabled.
Weakness: CWE-79
Which versions are affected by CVE-2021-39345?
It affects 1 product.
Products include Cnrs Hal.
How do I fix CVE-2021-39345?
No fix has been published for CVE-2021-39345 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-39345 being exploited?
There is no known exploitation of CVE-2021-39345 in the wild and no public exploit code.
Sources
Also known as GHSA-fp93-4355-39wq.