{"id":"CVE-2021-24236","aliases":["CVE-2021-24236"],"related":[],"kind":"vulnerability","state":"published","title":"Imagements <= 1.2.5 - Unauthenticated Arbitrary File Upload to RCE","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"El plugin Imagements de WordPress versiones hasta 1.2.5, permite que las imágenes sean cargadas en los comentarios, sin embargo, solo comprueba el Content-Type en la petición para prohibir archivos peligrosos.&#xa0;Esto permite a atacantes no autenticados cargar archivos arbitrarios mediante el uso de una  imagen válida Content-Type junto con un código y nombre de archivo PHP, conllevando a RCE","source":"nvd"}],"published":"2021-05-05T18:39:42.000Z","modified":"2026-06-17T03:39:40.910Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","score":7.5,"rating":"HIGH"}],"cwes":["CWE-434"],"affected":[{"ranges":[{"type":"custom","introduced":"1.2.5","lastAffected":"1.2.5","status":"affected"}],"vendor":"williewonka","product":"Imagements","source":"cvelist"},{"ranges":[{"status":"affected","lastAffected":"1.2.5"}],"vendor":"imagements_project","product":"imagements","cpe":"cpe:2.3:a:imagements_project:imagements:*:*:*:*:*:wordpress:*:*","source":"nvd"}],"references":[{"url":"https://wpscan.com/vulnerability/8f24e74f-60e3-4100-9ab2-ec31b9c9cdea","tags":["exploit","third-party-advisory","x-refsource-confirm","x-transferred"],"sources":["cvelist","nvd"]}],"credits":["Jin Huang"],"assigner":"WPScan","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-24236","url":"https://www.cve.org/CVERecord?id=CVE-2021-24236","licence":"CVE Terms of Use","modified":"2024-08-03T19:21:19.025Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-24236","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-24236","licence":"Public domain","modified":"2026-06-17T03:39:40.910Z"}],"updatedAt":"2026-11-25T22:58:01.170Z","epss":{"score":0.07277,"percentile":0.94486,"date":"2026-12-01T12:00:22.000Z"}}