CVE-2025-43742: 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 25 Oct 2026, 19:02 UTC
- EPSS
- 0.1% chance of exploitation in 30 days – higher than 9% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:L/SI:L/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 20 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 2026-10-25.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| Liferay Portal | Affected
| Fixed in– |
AI-suggested
1. Immediate mitigation should include implementing strict input validation and output encoding on all user-supplied data, especially in URL parameters and friendly URL handlers within Liferay Portal and DXP. 2. Deploy Web Application Firewalls (WAFs) with rules tailored to detect and block reflected XSS payloads targeting Liferay endpoints. 3. Monitor web server and application logs for unusual or suspicious URL patterns that may indicate attempted exploitation. 4. Restrict or sanitize user-generated content and URL parameters to disallow script tags or event handlers. 5. Apply the latest security updates and patches from Liferay as soon as they become available; if patches are not yet released, consider temporary workarounds such as disabling or restricting affected modules or features. 6. Educate users and administrators about the risks of clicking untrusted links and encourage the use of security headers like Content Security Policy (CSP) to reduce the impact of XSS. 7. Conduct thorough security testing and code reviews focusing on input handling in the portal environment to identify and remediate similar vulnerabilities proactively.
Description
A reflected cross-site scripting (XSS) vulnerability in the Liferay Portal 7.4.0 through 7.4.3.132, and Liferay DXP 2025.Q1.0 through 2025.Q1.3, 2024.Q4.0 through 2024.Q4.7, 2024.Q3.1 through 2024.Q3.13, 2024.Q2.0 through 2024.Q2.13, 2024.Q1.1 through 2024.Q1.14 and 7.4 GA through update 92 allows an remote non-authenticated attacker to inject JavaScript in web content for friendly urls.