Skip to main content

About CWE-917

MITRE lists these common consequences: Read Application Data, Execute Unauthorized Code or Commands, affecting confidentiality, integrity.

MITRE name
Improper Neutralization of Special Elements used in an Expression Language Statement
Abstraction
Base: abstract, but detailed enough to infer detection and prevention methods
Status
Incomplete

Also Known As

  • EL Injection
  • Expression Language Injection

Mitigations

  • Avoid adding user-controlled data into an expression interpreter when possible.
  • If user-controlled data must be added to an expression interpreter, one or more of the following should be performed:
  • The framework or tooling might allow the developer to disable or deactivate the processing of EL expressions, such as setting the isELIgnored attribute for a JSP page to "true".

Detection
MITRE lists these detection methods: Automated Static Analysis (high).

CWE-917 in the KEV Catalog

as of 2026-11-16
All KEV statistics→
  • 6 CISA KEV entries name Expression Language Injection (CWE-917) in their CVE record, tied for 41st among the 195 weaknesses named in the catalog.
  • Apache and Atlassian have the most CWE-917 entries in the CISA KEV catalog (2 each).

CWE-917 Vulnerabilities

6 CVEs
CVECVSS
CVE-2021-45046KEV
Apache Log4j2 Thread Context Message Pattern and Context Lookup Pattern vulnerable to a denial of service attack
9.0
CVE-2022-26134KEV
Atlassian Confluence Server and Data Center Remote Code Execution Vulnerability
9.8
CVE-2010-1871KEV
Red Hat Linux JBoss Seam 2 Remote Code Execution Vulnerability
8.8
CVE-2021-26084KEV
Atlassian Confluence Server and Data Center Object-Graph Navigation Language (OGNL) Injection Vulnerability
9.8
CVE-2020-10199KEV
Sonatype Nexus Repository Remote Code Execution Vulnerability
8.8
CVE-2020-17530KEV
Apache Struts Remote Code Execution Vulnerability
9.8

Frequently Asked Questions

What is CWE-917?→

CWE-917 (Improper Neutralization of Special Elements used in an Expression Language Statement) is a MITRE CWE entry. The product constructs all or part of an expression language (EL) statement in a framework such as a Java Server Page (JSP) using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended EL statement before it is executed.

How many exploited vulnerabilities are classified as CWE-917?→

This database lists 6 CVE records mapped to CWE-917 by their CVE Numbering Authority. 6 of them are in the CISA Known Exploited Vulnerabilities catalog, and CISA links 3 to known ransomware campaigns. Examples include CVE-2021-45046, CVE-2022-26134, CVE-2010-1871.

Weakness description, consequences, and mitigations from the CWE List, © The MITRE Corporation, used under the CWE Terms of Use. CWE mappings come from each CVE record's CNA. Exploited-in-the-wild data from the CISA KEV catalog (CC0). This site is not affiliated with or endorsed by MITRE or CISA.