CVE-2021-33323: Com.liferay.dynamic.data.mapping.form.web Liferay Portal And Liferay DXP Vulnerability

HIGH
Advisory Identifier: GHSA-fxpf-jr2q-vpvv
CVSS 7.5
CWE-312
Published
Advisory Summary

CVE-2021-33323 is a HIGH (CVSS 7.5) liferay portal and liferay dxp vulnerability (CWE-312: Cleartext Storage of Sensitive Information) affecting Com.liferay.dynamic.data.mapping.form.web libraries in the Maven ecosystem. The issue involves liferay portal and liferay dxp autosaves form data for other users to see. Remediation is available by upgrading affected packages to version 3.0.23, 7.1.10.fp19, 7.2.10.fp7.

CVE-2021-33323 at a Glance

CVE Identifier CVE-2021-33323
GHSA Identifier GHSA-fxpf-jr2q-vpvv
Severity HIGH
CVSS v3.1 Base Score 7.5
CWE Classification CWE-312: Cleartext Storage of Sensitive Information
Affected Product Com.liferay.dynamic.data.mapping.form.web
Package Ecosystem Maven
Published Date
Last Updated

Security Impact

CVSS: 7.5

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required None (PR:N)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality High (C:H)
Integrity None (I:N)
Availability None (A:N)

How to Fix CVE-2021-33323

To remediate this vulnerability, upgrade all affected Com.liferay.dynamic.data.mapping.form.web dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

com.liferay:com.liferay.dynamic.data.mapping.form.web fixed: 3.0.23
<dependency>
    <groupId>com.liferay</groupId>
    <artifactId>com.liferay.dynamic.data.mapping.form.web</artifactId>
    <version>3.0.23</version>
</dependency>
com.liferay.portal:release.dxp.bom fixed: 7.1.10.fp19
<dependency>
    <groupId>com.liferay.portal</groupId>
    <artifactId>release.dxp.bom</artifactId>
    <version>7.1.10.fp19</version>
</dependency>
com.liferay.portal:release.dxp.bom fixed: 7.2.10.fp7
<dependency>
    <groupId>com.liferay.portal</groupId>
    <artifactId>release.dxp.bom</artifactId>
    <version>7.2.10.fp7</version>
</dependency>
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

mvn dependency:tree -Dincludes=com.liferay

How to Check if You Are Affected

To determine whether your Java application is affected by CVE-2021-33323, inspect your build dependencies using the Maven Dependency Plugin:

mvn dependency:tree -Dincludes=com.liferay

Analyze the terminal output to locate any version of Com.liferay.dynamic.data.mapping.form.web in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 3.0.23), your application is affected.

Note: The mvn dependency:tree -Dincludes=com.liferay command inspects the resolved dependency graph declared in your project's POM files; it does not perform automated security scanning or inspect runtime dynamic classpaths. Always verify runtime container classpaths and shaded JARs.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-312: Cleartext Storage of Sensitive Information, where the product stores sensitive information in cleartext within a resource that might be accessible to another control sphere. In Com.liferay.dynamic.data.mapping.form.web, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

The Dynamic Data Mapping module in Dynamic Data Mapping Form Web before 3.0.23 in Liferay Portal 7.1.0 through 7.3.2, and Liferay DXP 7.1 before fix pack 19, and 7.2 before fix pack 7, autosaves form values for unauthenticated users, which allows remote attackers to view the autosaved values by viewing the form as an unauthenticated user.

CVE-2021-33323 Affected Com.liferay.dynamic.data.mapping.form.web Versions

3 component(s)
Fixed Versions:
3.0.237.1.10.fp197.2.10.fp7
Product / Package Ecosystem Affected Versions Fixed Version
com.liferay:com.liferay.dynamic.data.mapping.form.web
Maven
< 3.0.23
3.0.23
com.liferay.portal:release.dxp.bom
Maven
≥ 7.1.0
< 7.1.10.fp19
7.1.10.fp19
com.liferay.portal:release.dxp.bom
Maven
≥ 7.2.0
< 7.2.10.fp7
7.2.10.fp7

References

Frequently Asked Questions

What is CVE-2021-33323?
CVE-2021-33323 is a security vulnerability in Com.liferay.dynamic.data.mapping.form.web involving Liferay Portal and Liferay DXP autosaves form data for other users to see under CWE-312: Cleartext Storage of Sensitive Information.
Which Com.liferay.dynamic.data.mapping.form.web versions are affected?
Affected versions include releases prior to 3.0.23, 7.1.10.fp19, 7.2.10.fp7 across affected packages: com.liferay:com.liferay.dynamic.data.mapping.form.web, com.liferay.portal:release.dxp.bom.
What version fixes CVE-2021-33323?
Upgrading to 3.0.23, 7.1.10.fp19, 7.2.10.fp7 (or the latest patched release for your respective branch) resolves the vulnerability.
Is com.liferay.dynamic.data.mapping.form.web affected?
Yes, com.liferay:com.liferay.dynamic.data.mapping.form.web is affected in releases prior to 3.0.23. Upgrade your dependency to 3.0.23 or later.
Is release.dxp.bom affected?
Yes, com.liferay.portal:release.dxp.bom is affected in releases prior to 7.1.10.fp19, 7.2.10.fp7. Upgrade your dependency to 7.1.10.fp19, 7.2.10.fp7 or later.
What is the CVSS score of CVE-2021-33323?
CVE-2021-33323 has a CVSS v3.1 base score of 7.5 (HIGH) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N.
What CWE is associated with CVE-2021-33323?
CVE-2021-33323 is classified under CWE-312: Cleartext Storage of Sensitive Information (The product stores sensitive information in cleartext within a resource that might be accessible to another control sphere.).
How can I check Maven dependencies for CVE-2021-33323?
Run the dependency tree command: 'mvn dependency:tree -Dincludes=com.liferay'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-fxpf-jr2q-vpvv",
  "modified" : "2025-06-27T21:11:21Z",
  "published" : "2022-05-24T19:09:46Z",
  "aliases" : [ "CVE-2021-33323" ],
  "summary" : "Liferay Portal and Liferay DXP autosaves form data for other users to see",
  "details" : "The Dynamic Data Mapping module in Dynamic Data Mapping Form Web before 3.0.23 in Liferay Portal 7.1.0 through 7.3.2, and Liferay DXP 7.1 before fix pack 19, and 7.2 before fix pack 7, autosaves form values for unauthenticated users, which allows remote attackers to view the autosaved values by viewing the form as an unauthenticated user.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "com.liferay:com.liferay.dynamic.data.mapping.form.web"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "3.0.23"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "com.liferay.portal:release.dxp.bom"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "7.1.0"
      }, {
        "fixed" : "7.1.10.fp19"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "com.liferay.portal:release.dxp.bom"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "7.2.0"
      }, {
        "fixed" : "7.2.10.fp7"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2021-33323"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/liferay/liferay-portal"
  }, {
    "type" : "WEB",
    "url" : "https://issues.liferay.com/browse/LPE-17049"
  }, {
    "type" : "WEB",
    "url" : "https://portal.liferay.dev/learn/security/known-vulnerabilities/-/asset_publisher/HbL5mxmVrnXW/content/id/120747107"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-312" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2025-06-27T21:11:21Z",
    "nvd_published_at" : "2021-08-03T19:15:00Z"
  }
}