CVE-2023-42496
Liferay Portal and Liferay DXP vulnerable to reflected Cross-site Scripting
Also known as GHSA-54pv-r62j-9qqc
Mitigation
- Upgrade com.liferay.portal:release.portal.bom to 7.4.3.98 or later.
- Upgrade com.liferay.portal:release.dxp.bom to one of 7.3.10.u34, 2023.Q3.6 (or later in the same release line).
Who should check
- Projects that depend on Maven package com.liferay.portal:release.portal.bom (>= 7.3.3, < 7.4.3.98)
- Projects that depend on Maven package com.liferay.portal:release.dxp.bom (>= 7.4.10.ep1, <= 7.4.13.u92)
- Anyone running Liferay Portal >= 7.3.3, <= 7.4.3.97
- Anyone running Liferay DXP >= 2023.q3.1, <= 2023.q3.5; >= 7.4.13, <= 7.4.13.u92; >= 7.3.10, <= 7.3.10-dxp-33
Vulnerability facts
- Affected
- com.liferay.portal:release.portal.bom >= 7.3.3, < 7.4.3.98; com.liferay.portal:release.dxp.bom >= 7.4.10.ep1, <= 7.4.13.u92
- Fixed in
- 7.4.3.98, 7.3.10.u34, 2023.Q3.6
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, no login needed
- CVSS
- 9.6 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Privileges required: None
- User interaction: Required
- Scope: Changed (impact reaches other components)
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: High
- EPSS
- 0.79% chance of exploitation in 30 days (percentile 53, 2026-11-26)
- CWE
- CWE-79
- Modified
Description
Reflected cross-site scripting (XSS) vulnerability on the add assignees to a role page in Liferay Portal 7.3.3 through 7.4.3.97, and Liferay DXP 2023.Q3 before patch 6, 7.4 GA through update 92, and 7.3 before update 34 allows remote attackers to inject arbitrary web script or HTML via the _com_liferay_roles_admin_web_portlet_RolesAdminPortlet_tabs2 parameter.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Maven com.liferay.portal:release.portal.bom | >= 7.3.3, < 7.4.3.98 | 7.4.3.98 | osv |
| Maven com.liferay.portal:release.dxp.bom | >= 7.4.10.ep1, <= 7.4.13.u92 | 7.3.10.u34, 2023.Q3.6 | osv |
| Liferay Portal | >= 7.3.3, <= 7.4.3.97 | — | cvelist |
| Liferay DXP | >= 2023.q3.1, <= 2023.q3.5; >= 7.4.13, <= 7.4.13.u92; >= 7.3.10, <= 7.3.10-dxp-33 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2023-42496. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2023-42496.md Affected: com.liferay.portal:release.portal.bom >= 7.3.3, < 7.4.3.98; com.liferay.portal:release.dxp.bom >= 7.4.10.ep1, <= 7.4.13.u92 Fixed in: 7.4.3.98, 7.3.10.u34, 2023.Q3.6 Steps: 1. Search this machine and project for com.liferay.portal:release.portal.bom (Maven), com.liferay.portal:release.dxp.bom (Maven), Liferay Portal, Liferay DXP: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
FAQ
Is CVE-2023-42496 being exploited?
There is no confirmed exploitation: CVE-2023-42496 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.79% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2023-42496?
Critical: CVSS 9.6 (v3.1, scored by CNA). Remote, no login needed. A user has to take an action, such as opening a link, for the attack to work.
Which versions are affected by CVE-2023-42496?
com.liferay.portal:release.portal.bom >= 7.3.3, < 7.4.3.98; com.liferay.portal:release.dxp.bom >= 7.4.10.ep1, <= 7.4.13.u92.
Is there a fix for CVE-2023-42496?
Yes. Fixed in 7.4.3.98, 7.3.10.u34, 2023.Q3.6. Upgrade com.liferay.portal:release.portal.bom to 7.4.3.98 or later. Upgrade com.liferay.portal:release.dxp.bom to one of 7.3.10.u34, 2023.Q3.6 (or later in the same release line).
How do I check if I'm affected by CVE-2023-42496?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.