# CVE-2021-28170: Improper Input Validation in Jakarta Expression Language

- Severity: Medium 5.3 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 2.13%, higher than 83% of CVEs (2026-11-30)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2021-05-26T21:55:09.000Z
- Modified: 2026-06-17T03:45:56.970Z
- Also known as: GHSA-v6w3-2prq-h95f
- Weaknesses: CWE-20, CWE-917
- Assigned by: eclipse

## Description

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.

(As written by CVE List.)

## Affected

- The Eclipse Foundation Jakarta Expression Language Implementation: from unspecified up to 3.0.3; from next of 3.0.3 before unspecified
- com.sun.el:el-ri (Maven): before 3.0.4
- org.glassfish:jakarta.el (Maven): before 3.0.4
- org.glassfish:javax.el (Maven): up to 3.0.1-b12
- eclipse jakarta_expression_language: up to 3.0.3
- quarkus quarkus: before 2.3.0
- oracle communications_cloud_native_core_policy: 1.14.0
- oracle weblogic_server: 14.1.1.0.0

## Every score

- GitHub: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N`
- NVD: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N`
- NVD: CVSS:2.0 5.0 Medium `AV:N/AC:L/Au:N/C:N/I:P/A:N`

## References

- <https://github.com/eclipse-ee4j/el-ri/issues/155> (exploit, issue-tracking, third-party-advisory, web)
- <https://securitylab.github.com/advisories/GHSL-2020-021-jakarta-el/> (exploit, third-party-advisory)
- <https://www.oracle.com/security-alerts/cpuapr2022.html> (patch, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-28170> (advisory)
- <https://github.com/eclipse-ee4j/el-ri/pull/160/commits/b6a3943ac5fba71cbc6719f092e319caa747855b> (web)
- <https://github.com/eclipse-ee4j/el-ri> (package)
- <https://security.snyk.io/vuln/SNYK-JAVA-ORGGLASSFISH-1297098> (web)
- <https://security.snyk.io/vuln/SNYK-JAVA-ORGGLASSFISH-2841368> (web)
- <https://securitylab.github.com/advisories/GHSL-2020-021-jakarta-el> (advisory)

## Sources

- CVE List: [CVE-2021-28170](https://www.cve.org/CVERecord?id=CVE-2021-28170), CVE Terms of Use, modified 2024-08-03
- GitHub Advisory Database: [GHSA-v6w3-2prq-h95f](https://github.com/advisories/GHSA-v6w3-2prq-h95f), CC-BY-4.0, modified 2025-07-01
- NVD: [CVE-2021-28170](https://nvd.nist.gov/vuln/detail/CVE-2021-28170), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-28170 · Whole record: https://cve.day/CVE-2021-28170.json · Rebuilt by cve.day 2026-11-25T22:58:01.553Z
