CVE-2025-4604: Liferay Portal · XSS or 'Cross-site Scripting'
Affects Liferay PortalSource CVE Database V5
Not known to be exploited · CVSS 6.9 Medium.
Data as of 26 Oct 2026, 09:15 UTC
- EPSS
- 0.1% chance of exploitation in 30 days – higher than 6% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:A/VC:H/VI:L/VA:N/SC:H/SI:L/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
- Immediate deployment of any official patches or updates from Liferay once available is critical.
- In the interim, restrict access to the Gogo shell interface to trusted administrators only, ideally via network segmentation and firewall rules limiting access to management ports.
- Implement Web Application Firewalls (WAF) with custom rules to detect and block suspicious input patterns targeting the Captcha mechanism and Gogo shell commands.
- Enhance monitoring and logging around authentication attempts and Gogo shell usage to detect anomalous activities promptly.
- Conduct regular security assessments and penetration tests focusing on input validation and Captcha enforcement mechanisms.
- Educate administrators and developers about the risks of XSS and the importance of input sanitization, especially in custom extensions or integrations with Liferay Portal.
- Consider temporary disabling or restricting Captcha bypass-prone functionalities if feasible until patches are applied.
Description
The vulnerable code can bypass the Captcha check in Liferay Portal 7.4.3.80 through 7.4.3.132, and Liferay DXP 2024.Q1.1 through 2024.Q1.19, 2024.Q2.0 through 2024.Q2.13, 2024.Q3.0 through 2024.Q3.13, 2024.Q4.0 through 2024.Q4.7, 2025.Q1.0 through 2025.Q1.15 and 7.4 update 80 through update 92 and then attackers can run scripts in the Gogo shell