{"id":"CVE-2021-39320","state":"PUBLISHED","title":"underConstruction <= 1.18 - Reflected Cross-Site Scripting","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.","publishedAt":"2021-09-01T14:15:35.899Z","updatedAt":"2025-05-05T14:50:43.201Z","severity":{"score":6.1,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","source":"Wordfence"},"assigner":"Wordfence","products":["Noah Kagan underConstruction"],"affected":[{"vendor":"Noah Kagan","product":"underConstruction","versions":[{"version":"1.18","status":"affected","lessThanOrEqual":"1.18","versionType":"custom"}]}],"references":["https://wpscan.com/vulnerability/49ae1df0-d6d2-4cbb-9a9d-bf3599429875","https://www.wordfence.com/vulnerability-advisories/#CVE-2021-39320"],"weaknesses":["CWE-79"],"ingestedAt":"2026-10-29T19:48:52.666Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2021/39xxx/CVE-2021-39320.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2021-39320","state":"PUBLISHED","datePublished":"2021-09-01T14:15:35.899Z","dateUpdated":"2025-05-05T14:50:43.201Z","assignerShortName":"Wordfence","assignerOrgId":"b15e7b5b-3da4-40ae-a43c-f7aa60e62599","dateReserved":"2021-08-20T00:00:00.000Z"},"containers":{"cna":{"title":"underConstruction <= 1.18 - Reflected Cross-Site Scripting","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"Noah Kagan","product":"underConstruction","versions":[{"version":"1.18","status":"affected","lessThanOrEqual":"1.18","versionType":"custom"}]}],"references":[{"url":"https://wpscan.com/vulnerability/49ae1df0-d6d2-4cbb-9a9d-bf3599429875","tags":["x_refsource_MISC"]},{"url":"https://www.wordfence.com/vulnerability-advisories/#CVE-2021-39320","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":6.1,"baseSeverity":"MEDIUM","confidentialityImpact":"LOW","integrityImpact":"LOW","privilegesRequired":"NONE","scope":"CHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-79","description":"CWE-79 Cross-site Scripting (XSS)","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"Wordfence","dateUpdated":"2021-09-01T14:15:35.000Z","orgId":"b15e7b5b-3da4-40ae-a43c-f7aa60e62599"},"credits":[{"lang":"en","value":"Ramuel Gall, Wordfence"}],"datePublic":"2021-08-31T00:00:00.000Z","source":{"discovery":"INTERNAL"},"x_generator":{"engine":"Vulnogram 0.0.9"},"x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"security@wordfence.com","DATE_PUBLIC":"2021-08-31T00:00:00.000Z","ID":"CVE-2021-39320","STATE":"PUBLIC","TITLE":"underConstruction <= 1.18 - Reflected Cross-Site Scripting"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"underConstruction","version":{"version_data":[{"version_affected":"<=","version_name":"1.18","version_value":"1.18"}]}}]},"vendor_name":"Noah Kagan"}]}},"credit":[{"lang":"eng","value":"Ramuel Gall, Wordfence"}],"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"generator":{"engine":"Vulnogram 0.0.9"},"impact":{"cvss":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":6.1,"baseSeverity":"MEDIUM","confidentialityImpact":"LOW","integrityImpact":"LOW","privilegesRequired":"NONE","scope":"CHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","version":"3.1"}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-79 Cross-site Scripting (XSS)"}]}]},"references":{"reference_data":[{"name":"https://wpscan.com/vulnerability/49ae1df0-d6d2-4cbb-9a9d-bf3599429875","refsource":"MISC","url":"https://wpscan.com/vulnerability/49ae1df0-d6d2-4cbb-9a9d-bf3599429875"},{"name":"https://www.wordfence.com/vulnerability-advisories/#CVE-2021-39320","refsource":"MISC","url":"https://www.wordfence.com/vulnerability-advisories/#CVE-2021-39320"}]},"source":{"discovery":"INTERNAL"}}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://wpscan.com/vulnerability/49ae1df0-d6d2-4cbb-9a9d-bf3599429875","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://www.wordfence.com/vulnerability-advisories/#CVE-2021-39320","tags":["x_refsource_MISC","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-04T02:06:42.613Z"}},{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2025-05-05T14:50:39.494520Z","id":"CVE-2021-39320","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-05-05T14:50:43.201Z"}}]}}}