CVE-2021-39320

underConstruction <= 1.18 - Reflected Cross-Site Scripting

6.1 medium EPSS 1.93%

Published 1 Sep 2021 Updated 5 May 2025 CNA: Wordfence

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.

Severity (CVSS)

6.1 medium CVSS 3.1 from Wordfence (CNA)
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Attack vector
network: an attacker can reach the vulnerable part over the network, often from the internet
Attack complexity
low: an attack works without special conditions
Privileges required
none: the attacker does not need an account
User interaction
required: a user has to do something, such as open a link or a file
Scope
changed: the damage reaches other components, such as the host of a container or other users
Impact
confidentiality low, integrity low, availability none: what an attacker can read (confidentiality), change (integrity) or stop (availability)

Exploitation

EPSS 1.93%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 80.5% of all scored CVEs. Scores of 29 Nov 2026.

The assessment of CISA (SSVC, 5 May 2025):

Exploitation
none: CISA did not find evidence of exploitation or a public proof of concept
Automatable
no: each attack takes manual steps
Technical impact
partial: limited control or limited data

Weakness

  • CWE-79 Improper Neutralization of Input During Web Page Generation

Affected products

As the CNA lists them.

ProductVersions
underConstruction
affected from 1.18 up to and including 1.18

Is my server affected?

This CVE is in underConstruction of Noah Kagan, which Linux distributions and language package managers do not ship. The advisory of the vendor is in the references below.

Vulnpocalypse matches the package lists of Linux servers and containers against the Trivy vulnerability database, which does not list this product.

References

Other references

Source: the record CVE-2021-39320 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.