# CVE-2021-29050: Liferay Portal and Liferay DXP Vulnerable to Cross-Site Request Forgery in Terms of Use Page

Source: https://junglewise.ai/threats/cve-2021-29050-liferay-portal-and-liferay-dxp-vulnerable-to-cross-site-request  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2024-02-21  
License: CC BY 4.0 with a link back

CVE-2021-29050 · Severity: low · CVSS 3.1 · Published 2024-02-21

Liferay Portal and Liferay DXP Vulnerable to Cross-Site Request Forgery in Terms of Use Page

Technologies: [com.liferay.portal:com.liferay.portal.impl (Maven)](https://junglewise.ai/threats/technologies/com-liferay-portal-com-liferay-portal-impl), [com.liferay.portal:release.dxp.bom (Maven)](https://junglewise.ai/threats/technologies/com-liferay-portal-release-dxp-bom). Vendors: [Maven](https://junglewise.ai/threats/vendors/maven).

## Quick answers

**Is CVE-2021-29050 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2021-29050 being exploited in the wild.

**How severe is CVE-2021-29050?** Low severity, with a CVSS score of 3.1, published 21 February 2024.

**Which products and versions are affected?** com.liferay.portal:com.liferay.portal.impl (Maven) ECOSYSTEM:introduced=0,fixed=5.25.0; com.liferay.portal:release.dxp.bom (Maven) ECOSYSTEM:introduced=7.2.0,fixed=7.2.10.fp11.

**Is there a fix for CVE-2021-29050?** Yes. com.liferay.portal:com.liferay.portal.impl (Maven): upgrade to 5.25.0 or later; com.liferay.portal:release.dxp.bom (Maven): upgrade to 7.2.10.fp11 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2021-29050?** Check whether you run com.liferay.portal:com.liferay.portal.impl (Maven) or com.liferay.portal:release.dxp.bom (Maven) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- com.liferay.portal:com.liferay.portal.impl (Maven): upgrade to 5.25.0 or later

  ```sh
  # set com.liferay.portal:com.liferay.portal.impl to 5.25.0 in your pom.xml or build.gradle
  ```

- com.liferay.portal:release.dxp.bom (Maven): upgrade to 7.2.10.fp11 or later

  ```sh
  # set com.liferay.portal:release.dxp.bom to 7.2.10.fp11 in your pom.xml or build.gradle
  ```


## Affected products

- com.liferay.portal:com.liferay.portal.impl (Maven) ECOSYSTEM:introduced=0,fixed=5.25.0
- com.liferay.portal:release.dxp.bom (Maven) ECOSYSTEM:introduced=7.2.0,fixed=7.2.10.fp11

## Identifiers

- CVE-2021-29050
- GHSA-mh9r-9pcx-rx55

## Related threats

- [Liferay Portal and DXP use an incorrect cache-control header](https://junglewise.ai/threats/cve-2025-62276-liferay-portal-and-dxp-use-an-incorrect-cache-control-header)
- [Liferay Portal Stores Password Reset Tokens in Plain Text](https://junglewise.ai/threats/cve-2025-62261-liferay-portal-stores-password-reset-tokens-in-plain-text)
- [Liferay Portal ComboServlet denial of service via large file combination](https://junglewise.ai/threats/cve-2025-62254-liferay-portal-comboservlet-denial-of-service-via-large-file)
- [Liferay Portal reflected cross-site scripting (XSS) vulnerability in the google_gaget](https://junglewise.ai/threats/cve-2025-62249-liferay-portal-reflected-cross-site-scripting-xss-vulnerability)
- [Liferay is Vulnerable to Authorization Bypass Through User-Controlled Key](https://junglewise.ai/threats/cve-2025-62252-liferay-is-vulnerable-to-authorization-bypass-through-user)
