{"id":"CVE-2021-24236","aliases":["EUVD-2021-11150","GHSA-vvjm-6792-4mj3"],"status":"published","title":"Imagements \u003c= 1.2.5 - Unauthenticated Arbitrary File Upload to RCE","description":"The Imagements WordPress plugin through 1.2.5 allows images to be uploaded in comments, however only checks for the Content-Type in the request to forbid dangerous files. This allows unauthenticated attackers to upload arbitrary files by using a valid image Content-Type along with a PHP filename and code, leading to RCE.","severity":{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-10","score":0.07277,"percentile":0.94409,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-434"],"published":"2021-05-05T18:39:42Z","modified":"2026-06-17T03:39:40Z","exploits":[{"source":"nuclei","id":"CVE-2021-24236","title":"WordPress Imagements \u003c=1.2.5 - Arbitrary File Upload","type":"detection template","url":"https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2021/CVE-2021-24236.yaml"}],"products":[{"vendor":"imagements_project","product":"imagements"},{"vendor":"williewonka","product":"imagements"}],"references":[{"url":"https://wpscan.com/vulnerability/8f24e74f-60e3-4100-9ab2-ec31b9c9cdea","tags":["x_refsource_CONFIRM","x_transferred","Exploit","Third Party Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-24236"},{"url":"https://github.com/advisories/GHSA-vvjm-6792-4mj3"}],"sources":{"cve":[{"id":"CVE-2021-24236","title":"Imagements \u003c= 1.2.5 - Unauthenticated Arbitrary File Upload to RCE","description":"The Imagements WordPress plugin through 1.2.5 allows images to be uploaded in comments, however only checks for the Content-Type in the request to forbid dangerous files. This allows unauthenticated attackers to upload arbitrary files by using a valid image Content-Type along with a PHP filename and code, leading to RCE.","status":"published","published":"2021-05-05T18:39:42Z","modified":"2024-08-03T19:21:19.025Z","cwes":["CWE-434"],"updated_at":"2026-11-02T14:33:05.000797Z"}],"euvd":[{"id":"EUVD-2021-11150","description":"The Imagements WordPress plugin through 1.2.5 allows images to be uploaded in comments, however only checks for the Content-Type in the request to forbid dangerous files. This allows unauthenticated attackers to upload arbitrary files by using a valid image Content-Type along with a PHP filename and code, leading to RCE.","status":"published","published":"2021-05-05T18:39:42Z","modified":"2024-08-03T19:21:19Z","updated_at":"2026-11-03T03:24:58.504484Z"}],"ghsa":[{"id":"GHSA-vvjm-6792-4mj3","title":"The Imagements WordPress plugin through 1.2.5 allows images to be uploaded in comments, however...","description":"The Imagements WordPress plugin through 1.2.5 allows images to be uploaded in comments, however only checks for the Content-Type in the request to forbid dangerous files. This allows unauthenticated attackers to upload arbitrary files by using a valid image Content-Type along with a PHP filename and code, leading to RCE.","status":"published","published":"2022-05-24T19:01:32Z","modified":"2023-01-29T05:06:37Z","cwes":["CWE-434"],"updated_at":"2026-11-02T14:46:03.953317Z"}],"nvd":[{"id":"CVE-2021-24236","description":"The Imagements WordPress plugin through 1.2.5 allows images to be uploaded in comments, however only checks for the Content-Type in the request to forbid dangerous files. This allows unauthenticated attackers to upload arbitrary files by using a valid image Content-Type along with a PHP filename and code, leading to RCE.","status":"published","published":"2021-05-06T13:15:11.43Z","modified":"2026-06-17T03:39:40.91Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary"},{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","level":"high","assessor":"primary"}],"cwes":["CWE-434"],"updated_at":"2026-11-02T14:06:52.81233Z"}]}}
