# CVE-2021-33321: Liferay Portal and Liferay DXP insecure default configuration

Source: https://junglewise.ai/threats/cve-2021-33321-liferay-portal-and-liferay-dxp-insecure-default-configuration  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2022-05-24  
License: CC BY 4.0 with a link back

CVE-2021-33321 · Severity: low · CVSS 3.1 · Published 2022-05-24

Liferay Portal and Liferay DXP insecure default configuration

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.portal.bom (Maven)](https://junglewise.ai/threats/technologies/com-liferay-portal-release-portal-bom). Vendors: [Maven](https://junglewise.ai/threats/vendors/maven).

## Quick answers

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

**How severe is CVE-2021-33321?** Low severity, with a CVSS score of 3.1, published 24 May 2022.

**Which products and versions are affected?** com.liferay.portal:com.liferay.portal.impl (Maven) ECOSYSTEM:introduced=0,fixed=5.11.0; com.liferay.portal:release.portal.bom (Maven) ECOSYSTEM:introduced=0,fixed=7.3.3.

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

**Am I affected by CVE-2021-33321?** Check whether you run com.liferay.portal:com.liferay.portal.impl (Maven) or com.liferay.portal:release.portal.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.11.0 or later

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

- com.liferay.portal:release.portal.bom (Maven): upgrade to 7.3.3 or later

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


## Affected products

- com.liferay.portal:com.liferay.portal.impl (Maven) ECOSYSTEM:introduced=0,fixed=5.11.0
- com.liferay.portal:release.portal.bom (Maven) ECOSYSTEM:introduced=0,fixed=7.3.3

## Identifiers

- CVE-2021-33321
- GHSA-jfch-m2x3-2v66

## 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 Vulnerable to Reflected XSS via the selectedLanguageId Parameter](https://junglewise.ai/threats/cve-2025-62264-liferay-portal-vulnerable-to-reflected-xss-via-the)
- [Liferay Portal is vulnerable to XSS in the Blogs widget](https://junglewise.ai/threats/cve-2025-62265-liferay-portal-is-vulnerable-to-xss-in-the-blogs-widget)
- [Liferay Portal is vulnerable to DNS rebinding attacks](https://junglewise.ai/threats/cve-2025-62266-liferay-portal-is-vulnerable-to-dns-rebinding-attacks)
- [Liferay Portal vulnerable to password enumeration](https://junglewise.ai/threats/cve-2025-62257-liferay-portal-vulnerable-to-password-enumeration)
