CVE-2021-39320
underConstruction <= 1.18 - Reflected Cross-Site Scripting
Record summary
CVE-2021-39320 has a selected CVSS score of 6.1 (medium); EIP currently links 1 Nuclei template.
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.
Exploitation context
Available material
- Nuclei templates
- 1
CISA SSVC decision
CISA Coordinator · SSVC 2.0.3 · Evaluated May 5, 2025 · Source: CVE List
Affected products and versions
1| Product | Source | Version range | Status |
|---|---|---|---|
underConstructionBrowse Noah Kagan / underConstruction | CVE List | 1.18 to ≤ 1.18 | affected |
Nuclei templates
1ProjectDiscoveryMEDIUMWordPress Under Construction <1.19 - Cross-Site ScriptingCVSS 6.1
WordPress Under Construction plugin before 1.19 contains a cross-site scripting vulnerability. The plugin echoes out the raw value of `$GLOBALS['PHP_SELF']` in the ucOptions.php file on certain configurations, including Apache+modPHP.
Impact
The vulnerability allows an attacker to inject malicious scripts into the website, potentially leading to unauthorized access, data theft, or defacement.
Remediation
Update to the latest version of the WordPress Under Construction plugin (1.19 or higher) to fix the XSS vulnerability.
Source: ProjectDiscovery