{"id":"CVE-2021-24721","state":"PUBLISHED","title":"Loco Translate < 2.5.4 - Authenticated PHP Code Injection","description":"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.","publishedAt":"2021-11-08T17:35:14.000Z","updatedAt":"2024-08-03T19:42:16.687Z","severity":null,"assigner":"WPScan","products":["Unknown Loco Translate"],"affected":[{"vendor":"Unknown","product":"Loco Translate","versions":[{"version":"2.5.4","status":"affected","lessThan":"2.5.4","versionType":"custom"}]}],"references":["https://wpscan.com/vulnerability/bc7d4774-fce8-4b0b-8015-8ef4c5b02d38"],"weaknesses":["CWE-94"],"ingestedAt":"2026-10-29T19:48:07.505Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2021/24xxx/CVE-2021-24721.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2021-24721","state":"PUBLISHED","datePublished":"2021-11-08T17:35:14.000Z","dateUpdated":"2024-08-03T19:42:16.687Z","assignerShortName":"WPScan","assignerOrgId":"1bfdd5d7-9bf6-4a53-96ea-42e2716d7a81","dateReserved":"2021-01-14T00:00:00.000Z"},"containers":{"cna":{"title":"Loco Translate < 2.5.4 - Authenticated PHP Code Injection","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"Unknown","product":"Loco Translate","versions":[{"version":"2.5.4","status":"affected","lessThan":"2.5.4","versionType":"custom"}]}],"references":[{"url":"https://wpscan.com/vulnerability/bc7d4774-fce8-4b0b-8015-8ef4c5b02d38","tags":["x_refsource_MISC"]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-94","description":"CWE-94 Improper Control of Generation of Code ('Code Injection')","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"WPScan","dateUpdated":"2021-11-08T17:35:14.000Z","orgId":"1bfdd5d7-9bf6-4a53-96ea-42e2716d7a81"},"credits":[{"lang":"en","value":"Tomi Ashari"}],"source":{"discovery":"EXTERNAL"},"x_generator":"WPScan CVE Generator","x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"contact@wpscan.com","ID":"CVE-2021-24721","STATE":"PUBLIC","TITLE":"Loco Translate < 2.5.4 - Authenticated PHP Code Injection"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"Loco Translate","version":{"version_data":[{"version_affected":"<","version_name":"2.5.4","version_value":"2.5.4"}]}}]},"vendor_name":"Unknown"}]}},"credit":[{"lang":"eng","value":"Tomi Ashari"}],"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"generator":"WPScan CVE Generator","problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-94 Improper Control of Generation of Code ('Code Injection')"}]}]},"references":{"reference_data":[{"name":"https://wpscan.com/vulnerability/bc7d4774-fce8-4b0b-8015-8ef4c5b02d38","refsource":"MISC","url":"https://wpscan.com/vulnerability/bc7d4774-fce8-4b0b-8015-8ef4c5b02d38"}]},"source":{"discovery":"EXTERNAL"}}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://wpscan.com/vulnerability/bc7d4774-fce8-4b0b-8015-8ef4c5b02d38","tags":["x_refsource_MISC","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-03T19:42:16.687Z"}}]}}}