{"id":"CVE-2021-39320","aliases":["EUVD-2021-25681","GHSA-p83h-qp2w-3vv5"],"status":"published","title":"underConstruction \u003c= 1.18 - Reflected Cross-Site Scripting","description":"The underConstruction plugin \u003c= 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":{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-10","score":0.02324,"percentile":0.8363,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-79"],"published":"2021-09-01T14:15:35Z","modified":"2026-06-17T04:03:32Z","exploits":[{"source":"nuclei","id":"CVE-2021-39320","title":"WordPress Under Construction \u003c1.19 - Cross-Site Scripting","type":"detection template","url":"https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2021/CVE-2021-39320.yaml"}],"products":[{"vendor":"noah kagan","product":"underconstruction"},{"vendor":"underconstruction_project","product":"underconstruction"},{"vendor":"unknown","product":"underconstruction"}],"references":[{"url":"https://wpscan.com/vulnerability/49ae1df0-d6d2-4cbb-9a9d-bf3599429875","tags":["x_refsource_MISC","x_transferred","Third Party Advisory"]},{"url":"https://www.wordfence.com/vulnerability-advisories/#CVE-2021-39320","tags":["x_refsource_MISC","x_transferred","Third Party Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-39320"},{"url":"https://github.com/advisories/GHSA-p83h-qp2w-3vv5"}],"sources":{"cve":[{"id":"CVE-2021-39320","title":"underConstruction \u003c= 1.18 - Reflected Cross-Site Scripting","description":"The underConstruction plugin \u003c= 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.","status":"published","published":"2021-09-01T14:15:35.899Z","modified":"2025-05-05T14:50:43.201Z","cvss":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"cna"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:33:09.540052Z"}],"euvd":[{"id":"EUVD-2021-25681","description":"The underConstruction plugin \u003c= 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.","status":"published","published":"2021-09-01T14:15:35Z","modified":"2025-05-05T14:50:43Z","cvss":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"updated_at":"2026-11-02T20:32:57.470964Z"}],"ghsa":[{"id":"GHSA-p83h-qp2w-3vv5","title":"The underConstruction plugin \u003c= 1.18 for WordPress echoes out the raw value of `$GLOBALS[...","description":"The underConstruction plugin \u003c= 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.","status":"published","published":"2022-05-24T19:12:42Z","modified":"2023-01-30T05:01:51Z","cwes":["CWE-79"],"updated_at":"2026-11-02T14:46:30.304291Z"}],"nvd":[{"id":"CVE-2021-39320","description":"The underConstruction plugin \u003c= 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.","status":"published","published":"2021-09-01T15:15:12.653Z","modified":"2026-06-17T04:03:32.767Z","cvss":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"secondary"},{"version":"2.0","score":4.3,"vector":"AV:N/AC:M/Au:N/C:N/I:P/A:N","level":"medium","assessor":"primary"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:06:58.05696Z"}]}}
