{"id":"CVE-2021-24721","aliases":["CVE-2021-24721"],"related":[],"kind":"vulnerability","state":"published","title":"Loco Translate < 2.5.4 - Authenticated PHP Code Injection","summary":"The Loco Translate WordPress plugin before 2.5.4 mishandles data inputs which get saved to a file, which can be renamed to an extension ending in .php, resulting in authenticated \"translator\" users being able to inject PHP code into files ending with .php in web accessible locations.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"The Loco Translate WordPress plugin before 2.5.4 mishandles data inputs which get saved to a file, which can be renamed to an extension ending in .php, resulting in authenticated \"translator\" users being able to inject PHP code into files ending with .php in web accessible locations.","source":"cvelist"},{"lang":"es","text":"El plugin Loco Translate de WordPress versiones anteriores a 2.5.4 maneja inapropiadamente las entradas de datos que se guardan en un archivo, que puede ser renombrado con una extensión que termina en .php, resultando en que los usuarios autenticados del \"translator\" puedan inyectar código PHP en archivos que terminan en .php en ubicaciones accesibles para la web","source":"nvd"}],"published":"2021-11-08T17:35:14.000Z","modified":"2026-06-17T03:40:47.700Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N","score":6.5,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N","score":6.5,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:S/C:N/I:P/A:N","score":4,"rating":"MEDIUM"}],"cwes":["CWE-94"],"affected":[{"ranges":[{"type":"custom","introduced":"2.5.4","fixed":"2.5.4","status":"affected"}],"vendor":"Unknown","product":"Loco Translate","source":"cvelist"},{"ranges":[{"status":"affected","fixed":"2.5.4"}],"vendor":"loco_translate_project","product":"loco_translate","cpe":"cpe:2.3:a:loco_translate_project:loco_translate:*:*:*:*:*:wordpress:*:*","source":"nvd"}],"references":[{"url":"https://wpscan.com/vulnerability/bc7d4774-fce8-4b0b-8015-8ef4c5b02d38","tags":["exploit","third-party-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]}],"credits":["Tomi Ashari"],"assigner":"WPScan","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-24721","url":"https://www.cve.org/CVERecord?id=CVE-2021-24721","licence":"CVE Terms of Use","modified":"2024-08-03T19:42:16.687Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-24721","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-24721","licence":"Public domain","modified":"2026-06-17T03:40:47.700Z"}],"updatedAt":"2026-11-25T22:58:05.425Z","epss":{"score":0.0094,"percentile":0.61951,"date":"2026-12-01T12:00:22.000Z"}}