---
id: CVE-2021-29040
title: >-
  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 cont…
summary: >-
  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 cont…
severity: medium
cvss: 5.3
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N'
cwe:
  - CWE-209
vendor: liferay
product: digital_experience_platform
affected:
  - digital_experience_platform < 7.0
  - digital_experience_platform = 7.0
  - digital_experience_platform = 7.1
  - digital_experience_platform = 7.2
  - liferay_portal <= 7.3.4
patched:
  - digital_experience_platform 7.0
published: '2021-05-16'
updated: '2026-07-05'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2021-29040'
references:
  - url: >-
      https://portal.liferay.dev/learn/security/known-vulnerabilities/-/asset_publisher/HbL5mxmVrnXW/content/id/120743429
    label: cve@mitre.org
  - url: 'http://liferay.com'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: >-
      https://portal.liferay.dev/learn/security/known-vulnerabilities/-/asset_publisher/HbL5mxmVrnXW/content/id/120743429
    label: af854a3a-2127-422b-91ae-364da2661108
tags:
  - nvd
epss: 0.01081
epssPercentile: 0.63634
ingestedAt: '2026-07-05T02:00:01.592Z'
---

## Overview

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.

## Affected

- `digital_experience_platform < 7.0`
- `digital_experience_platform = 7.0`
- `digital_experience_platform = 7.1`
- `digital_experience_platform = 7.2`
- `liferay_portal <= 7.3.4`

## Remediation

Upgrade past the affected range:

- `digital_experience_platform 7.0`
