Home / Liferay / Digital Experience Platform / CVE-2021-29040
CVE-2021-29040: is it exploited, and which versions of Liferay Digital Experience Platform are affected and fixed?
CVE-2021-29040 is an information disclosure in error messages vulnerability in Liferay Digital Experience Platform. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 17:09 UTC). Affected: com.liferay.portal:release.portal.bom before 7.3.5, com.liferay.portal:release.dxp.bom before 7.0.10.fp97, com.liferay.portal:release.dxp.bom from 7.1.0 before 7.1.10.fp20 and 1 more (GitHub advisory GHSA-87x7-pwrx-jch7). Fixed in 7.3.5, 7.0.10.fp97, 7.1.10.fp20 and 7.2.10.fp10 (GitHub advisory GHSA-87x7-pwrx-jch7). Severity: Medium (5.3, CVSS 3.1, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 17:09 UTC, CVE record November 19, 2026, 07:15 UTC and NVD November 19, 2026, 07:58 UTC.
What is CVE-2021-29040?
The JSON web services in Liferay Portal 7.3.4 and earlier, and Liferay DXP 7.0 before fix pack 97, 7.1 before fix pack 20 and 7.2 before fix pack 10 may provide overly verbose error messages, which allows remote attackers to use the contents of error messages to help launch another, more focused attacks via crafted inputs.
From the CVE record by mitre, last updated July 9, 2026, 00:13 UTC.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| Maven | com.liferay.portal:release.portal.bom | < 7.3.5 | 7.3.5 | GHSA-87x7-pwrx-jch7 |
| Maven | com.liferay.portal:release.dxp.bom | < 7.0.10.fp97 | 7.0.10.fp97 | GHSA-87x7-pwrx-jch7 |
| Maven | com.liferay.portal:release.dxp.bom | >= 7.1.0, < 7.1.10.fp20 | 7.1.10.fp20 | GHSA-87x7-pwrx-jch7 |
| Maven | com.liferay.portal:release.dxp.bom | >= 7.2.0, < 7.2.10.fp10 | 7.2.10.fp10 | GHSA-87x7-pwrx-jch7 |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated May 28, 2025. Summary: Liferay Portal and Liferay DXP Reveals Data via Overly Verbose Error Messages.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| liferay | digital experience platform | before 7.0 | application |
| liferay | digital experience platform | 7.0 | application |
| liferay | digital experience platform | 7.1 | application |
| liferay | digital experience platform | 7.2 | application |
| liferay | liferay portal | through 7.3.4 | application |
NVD analysis (status Modified), last modified July 9, 2026, 01:16 UTC.
How severe is CVE-2021-29040?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 5.3 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N | NVD |
| Medium 5.0 | CVSS 2.0 | AV:N/AC:L/Au:N/C:P/I:N/A:N | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2021-29040 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 1.08% probability of exploitation activity in the next 30 days, percentile 66.2 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-209 Generation of Error Message Containing Sensitive Information
Where are the vendor advisories and references?
When was it published, and where is the official record?
- Reserved
- March 22, 2021
- Published
- May 16, 2021, 15:03 UTC
- CVE record updated
- July 9, 2026, 00:13 UTC by mitre
- NVD
- Modified, last modified July 9, 2026, 01:16 UTC
- Last checked
- CVE list November 19, 2026, 07:15 UTC; NVD November 19, 2026, 07:58 UTC; KEV December 3, 2026, 17:09 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect Digital Experience Platform?
- Feb 20, 2024CVE-2022-45320 Liferay Digital Experience Platform: improper access control
- Feb 20, 2024CVE-2021-29038 Liferay Digital Experience Platform: weak password recovery
- Nov 15, 2022CVE-2022-42132 Liferay Digital Experience Platform: information disclosure
- Nov 15, 2022CVE-2022-42131 Liferay Digital Experience Platform: improper certificate validation
- Nov 15, 2022CVE-2022-42130 Liferay Digital Experience Platform: insecure default permissions
- Nov 15, 2022CVE-2022-42129 Liferay Digital Experience Platform: authorization bypass through a user-controlled key (IDOR)
- Nov 15, 2022CVE-2022-42128 Liferay Digital Experience Platform: insecure default permissions
- Nov 15, 2022CVE-2022-42127 Liferay Digital Experience Platform: insecure default permissions
Every CVE in Digital Experience Platform
Questions about CVE-2021-29040
Is CVE-2021-29040 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 17:09 UTC. FIRST's EPSS gives it a 1.08% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of Liferay Digital Experience Platform are affected by CVE-2021-29040?
com.liferay.portal:release.portal.bom before 7.3.5, com.liferay.portal:release.dxp.bom before 7.0.10.fp97, com.liferay.portal:release.dxp.bom from 7.1.0 before 7.1.10.fp20 and com.liferay.portal:release.dxp.bom from 7.2.0 before 7.2.10.fp10, per the GitHub advisory GHSA-87x7-pwrx-jch7. The tables above give every range the sources list.
Which version fixes CVE-2021-29040?
7.3.5, 7.0.10.fp97, 7.1.10.fp20 and 7.2.10.fp10, per the GitHub advisory GHSA-87x7-pwrx-jch7. Check the vendor's advisory before you rely on it.
How severe is CVE-2021-29040?
Medium (5.3, CVSS 3.1, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2021-29040?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.