---
id: CVE-2021-38265
title: >-
  Cross-site scripting (XSS) vulnerability in the Asset module in Liferay Portal
  7.3.4 through 7.3.6 allow remote attackers to inject arbitrary web script or
  HTML when creating a collection page via the
  _com_liferay_asset_list_web_portlet_…
summary: >-
  Cross-site scripting (XSS) vulnerability in the Asset module in Liferay Portal
  7.3.4 through 7.3.6 allow remote attackers to inject arbitrary web script or
  HTML when creating a collection page via the
  _com_liferay_asset_list_web_portlet_…
severity: medium
cvss: 5.4
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N'
cwe:
  - CWE-79
vendor: liferay
product: digital_experience_platform
affected:
  - digital_experience_platform <= 7.3
  - 'liferay_portal >= 7.3.4, <= 7.3.6'
published: '2022-03-03'
updated: '2026-07-05'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2021-38265'
references:
  - url: >-
      https://portal.liferay.dev/learn/security/known-vulnerabilities/-/asset_publisher/HbL5mxmVrnXW/content/cve-2021-38265-stored-xss-with-collection-name
    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/cve-2021-38265-stored-xss-with-collection-name
    label: af854a3a-2127-422b-91ae-364da2661108
tags:
  - nvd
epss: 0.00585
epssPercentile: 0.45568
ingestedAt: '2026-07-06T17:03:23.925Z'
---

## Overview

Cross-site scripting (XSS) vulnerability in the Asset module in Liferay Portal 7.3.4 through 7.3.6 allow remote attackers to inject arbitrary web script or HTML when creating a collection page via the _com_liferay_asset_list_web_portlet_AssetListPortlet_title parameter.

## Affected

- `digital_experience_platform <= 7.3`
- `liferay_portal >= 7.3.4, <= 7.3.6`

## Remediation

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