Software Securityhome
Fix a findingSearch
Glossary

Expression language injection

Untrusted input becomes part of an expression in a language such as Spring Expression Language (SpEL), OGNL or Jakarta Expression Language, which can call methods and create objects, so the attacker runs code (CWE-917). Never evaluate request data as an expression; map it to fixed operations.

Also called
EL injection
Defined in
MITRE CWE-917

Covered in

Practice: SQL injection lab: Separate SQL structure from data with sqlite3 · OS command injection lab: Run git without a shell · SSTI lab: Render a welcome banner without template injection · XXE lab: Parse an uploaded invoice without resolving external entities

Find your next answer

Type to search. Search runs in your browser.

Searches run in your browser, but the host can infer them from the index files they load. The address shows your search so you can bookmark or share it.