CVE-2025-43787: Liferay Portal · XSS or 'Cross-site Scripting'
Affects Liferay PortalSource CVE Database V5
Not known to be exploited · CVSS 5.1 Medium.
Data as of 25 Oct 2026, 19:02 UTC
- EPSS
- 0.2% chance of exploitation in 30 days – higher than 12% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:L/VI:L/VA:N/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 12 Sep 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
2) Enforce strict input validation and output encoding on all user-supplied data, particularly organization site names, to prevent injection of malicious scripts. 3) Restrict and monitor authenticated user privileges to minimize the risk of malicious input from compromised or insider accounts. 4) Implement Content Security Policy (CSP) headers to limit the execution of unauthorized scripts in browsers. 5) Conduct regular security audits and penetration testing focused on XSS vulnerabilities in web applications. 6) Educate users to recognize suspicious behavior and report anomalies promptly. 7) Employ web application firewalls (WAFs) with rules tuned to detect and block XSS payloads targeting Liferay-specific parameters. 8) Monitor logs for unusual activity related to organization site name changes or script injections. These measures, combined with timely patching, will reduce the risk of exploitation and limit potential damage.
Description
A Stored cross-site scripting vulnerability in the Liferay Portal 7.4.0 through 7.4.3.132, and Liferay DXP 2025.Q3.0, 2025.Q2.0 through 2025.Q2.12, 2025.Q1.0 through 2025.Q1.17, 2024.Q4.0 through 2024.Q4.7, 2024.Q3.0 through 2024.Q3.13, 2024.Q2.0 through 2024.Q2.13 and 2024.Q1.1 through 2024.Q1.20 allows an remote authenticated attacker to inject JavaScript through the organization site names. The malicious payload is stored and executed without proper sanitization or escaping.