🛡️ CVE-2021-28170 — el-ri
Description
Improper Input Validation in Jakarta Expression Language
In the Jakarta Expression Language implementation 3.0.3 and earlier, a bug in the ELParserTokenManager enables invalid EL expressions to be evaluated as if they were valid.
How this vulnerability can be exploited
This issue can be reached over the network, attack complexity is low, an attacker needs no privileges on the target. No user interaction is required. The scope is unchanged, so the impact stays within the vulnerable component. Rated impact: confidentiality none, integrity low, availability none.
Weakness class
CVE-2021-28170 is classified as CWE-20: Improper Input Validation. The application accepts input without checking that it has the expected form, so malformed values reach code that assumes they are well formed.
Affected software
CVE-2021-28170 is recorded against 3 packages.
- com.sun.el:el-ri (fixed in 3.0.4)
- org.glassfish:jakarta.el (fixed in 3.0.4)
- org.glassfish:javax.el
Timeline and source
Published on 6 October 2021 and last revised on 1 July 2025. No public exploit is currently recorded for this entry. Record sourced from OSV.
References
nvd.nist.gov (Advisory)
github.com (Web)
github.com (Web)
github.com (Package)
security.snyk.io (Web)
security.snyk.io (Web)
securitylab.github.com (Advisory)
www.oracle.com (Web)
Details
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
Affected Packages
| Software | From version | Fixed in |
|---|---|---|
| com.sun.el:el-ri | — | 3.0.4 |
| org.glassfish:jakarta.el | — | 3.0.4 |
| org.glassfish:javax.el | — | — |
References
More CVE 2021 advisories
Browse all of CVE 2021 in the advisory index.
Free Vulnerability Check
Is your site affected by CVE-2021-28170?
BotEraser helps you identify potentially vulnerable plugins and themes by checking your installation against CVE-2021-28170 and other known CVE records.
Scan My Site Free →No credit card required · Results in minutes
ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.