CVE-2021-39320 underConstruction <= 1.18 - Reflected Cross-Site Scripting
Reflected XSS in underConstruction plugin allows attackers to inject scripts via request path on specific Apache configurations.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2021-39320?
CVE-2021-39320 is a medium-severity cross-site scripting vulnerability in Noah Kagan underConstruction, published on 1 Sep 2021. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
The underConstruction plugin <= 1.18 for WordPress echoes out the raw value of `$GLOBALS['PHP_SELF']` in the ucOptions.php file. On certain configurations including Apache+modPHP, this makes it possible to use it to perform a reflected Cross-Site Scripting attack by injecting malicious code in the request path.
Weakness: CWE-79
Which versions are affected by CVE-2021-39320?
It affects 1 product.
Products include Underconstruction Project Underconstruction.
How do I fix CVE-2021-39320?
No fix has been published for CVE-2021-39320 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-39320 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2021-39320 exists.
Public exploit code: 1 Nuclei template.
Other vulnerabilities in Noah Kagan underConstruction
Sources
Also known as GHSA-p83h-qp2w-3vv5.