CVE-2025-43791
Liferay Portal vulnerable to Cross-site Scripting
Also known as GHSA-5c6v-fqcw-w6q5
Mitigation
- Upgrade com.liferay:com.liferay.dynamic.data.mapping.form.field.type to 6.0.167 or later.
Who should check
- Projects that depend on Maven package com.liferay:com.liferay.dynamic.data.mapping.form.field.type (< 6.0.167)
- Anyone running Liferay Portal >= 7.3.0, <= 7.4.3.111
- Anyone running Liferay DXP >= 7.3.10, <= 7.3.10-u36; >= 7.4.13, <= 7.4.13-u92; >= 2023.Q3.1, <= 2023.Q3.4; 2023.Q4.0
Vulnerability facts
- Affected
- com.liferay:com.liferay.dynamic.data.mapping.form.field.type < 6.0.167
- Fixed in
- 6.0.167
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, login needed
- CVSS
- 4.8 (v4.0, CNA)CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:A/VC:L/VI:L/VA:N/SC:N/SI:N/SA:NOpen in CVSS calculator
Show all 11 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Attack requirements: None
- Privileges required: Low
- User interaction: Active
- Confidentiality impact: Low
- Integrity impact: Low
- Availability impact: None
- Confidentiality impact on other systems: None
- Integrity impact on other systems: None
- Availability impact on other systems: None
- EPSS
- 0.39% chance of exploitation in 30 days (percentile 25, 2026-11-26)
- CWE
- CWE-79
- Modified
Description
Multiple cross-site scripting (XSS) vulnerabilities in Liferay Portal 7.3.0 through 7.4.3.111, and Liferay DXP 2023.Q4.0, 2023.Q3.1 through 2023.Q3.4, 7.4 GA through update 92 and 7.3 GA through update 36 allow remote attackers to inject arbitrary web script or HTML via a crafted payload injected into a "Rich Text" type field to (1) a web content structure, (2) a Documents and Media Document Type , or (3) custom assets that uses the Data Engine's module Rich Text field.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Maven com.liferay:com.liferay.dynamic.data.mapping.form.field.type | < 6.0.167 | 6.0.167 | osv |
| Liferay Portal | >= 7.3.0, <= 7.4.3.111 | — | cvelist |
| Liferay DXP | >= 7.3.10, <= 7.3.10-u36; >= 7.4.13, <= 7.4.13-u92; >= 2023.Q3.1, <= 2023.Q3.4; 2023.Q4.0 | — | 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-2025-43791. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2025-43791.md Affected: com.liferay:com.liferay.dynamic.data.mapping.form.field.type < 6.0.167 Fixed in: 6.0.167 Steps: 1. Search this machine and project for com.liferay:com.liferay.dynamic.data.mapping.form.field.type (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-2025-43791 being exploited?
There is no confirmed exploitation: CVE-2025-43791 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.39% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2025-43791?
Medium: CVSS 4.8 (v4.0, scored by CNA). Remote, 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-2025-43791?
com.liferay:com.liferay.dynamic.data.mapping.form.field.type < 6.0.167.
Is there a fix for CVE-2025-43791?
Yes. Fixed in 6.0.167. Upgrade com.liferay:com.liferay.dynamic.data.mapping.form.field.type to 6.0.167 or later.
How do I check if I'm affected by CVE-2025-43791?
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.