---
id: CVE-2021-29051
title: >-
  Cross-site scripting (XSS) vulnerability in the Asset module's Asset Publisher
  app in Liferay Portal 7.2.1 through 7.3.5, and Liferay DXP 7.1 before fix pack
  21, 7.2 before fix pack 10 and 7.3 before fix pack 1 allows remote attackers
  to…
summary: >-
  Cross-site scripting (XSS) vulnerability in the Asset module's Asset Publisher
  app in Liferay Portal 7.2.1 through 7.3.5, and Liferay DXP 7.1 before fix pack
  21, 7.2 before fix pack 10 and 7.3 before fix pack 1 allows remote attackers
  to…
severity: medium
cvss: 6.1
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N'
cwe:
  - CWE-79
vendor: liferay
product: digital_experience_platform
affected:
  - digital_experience_platform = 7.1
  - digital_experience_platform = 7.2
  - dxp = 7.3
  - 'liferay_portal >= 7.2.0, <= 7.3.5'
published: '2021-05-17'
updated: '2026-07-05'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2021-29051'
references:
  - url: >-
      https://portal.liferay.dev/learn/security/known-vulnerabilities/-/asset_publisher/HbL5mxmVrnXW/content/id/120743580
    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/120743580
    label: af854a3a-2127-422b-91ae-364da2661108
tags:
  - nvd
epss: 0.00746
epssPercentile: 0.52885
ingestedAt: '2026-07-05T00:59:25.865Z'
---

## Overview

Cross-site scripting (XSS) vulnerability in the Asset module's Asset Publisher app in Liferay Portal 7.2.1 through 7.3.5, and Liferay DXP 7.1 before fix pack 21, 7.2 before fix pack 10 and 7.3 before fix pack 1 allows remote attackers to inject arbitrary web script or HTML via the _com_liferay_asset_publisher_web_portlet_AssetPublisherPortlet_INSTANCE_XXXXXXXXXXXX_assetEntryId parameter.

## Affected

- `digital_experience_platform = 7.1`
- `digital_experience_platform = 7.2`
- `dxp = 7.3`
- `liferay_portal >= 7.2.0, <= 7.3.5`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
