CVE-2025-4599: Liferay Portal · XSS or 'Cross-site Scripting'
Affects Liferay PortalSource CVE Database V5
Not known to be exploited · CVSS 2.0 Low.
Data as of 26 Oct 2026, 17:16 UTC
- EPSS
- 0.1% chance of exploitation in 30 days – higher than 8% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:4.0/AV:N/AC:L/AT:P/PR:H/UI:P/VC:L/VI:L/VA:N/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 4 Aug 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| Liferay Portal | Affected
| Fixed in– |
AI-suggested
European organizations should implement the following specific mitigations: 1) Immediately audit and restrict access to the fragment preview functionality to trusted users only, minimizing exposure to untrusted or anonymous users. 2) Apply strict Content Security Policy (CSP) headers to limit the execution of unauthorized scripts within the portal context. 3) Monitor and filter incoming URLs to the fragment portlet for suspicious or malformed parameters that could carry injected scripts. 4) Educate users, especially content managers and developers, about the risks of clicking on untrusted links related to the portal. 5) Regularly update Liferay Portal and DXP to the latest versions once patches addressing CVE-2025-4599 are released. 6) Employ web application firewalls (WAFs) with custom rules to detect and block exploitation attempts targeting the fragment preview URLs. 7) Conduct internal penetration testing focusing on the fragment preview feature to identify any additional weaknesses. These measures go beyond generic advice by focusing on access control, input validation, user awareness, and proactive monitoring tailored to this specific vulnerability.
Description
The fragment preview functionality in Liferay Portal 7.4.3.61 through 7.4.3.132, and Liferay DXP 2024.Q4.1 through 2024.Q4.5, 2024.Q3.1 through 2024.Q3.13, 2024.Q2.0 through 2024.Q2.13, 2024.Q1.1 through 2024.Q1.13 and 7.4 update 61 through update 92 was found to be vulnerable to postMessage-based XSS because it allows a remote non-authenticated attacker to inject JavaScript into the fragment portlet URL.