CVE-2025-43821: Liferay Portal · XSS or 'Cross-site Scripting'
Affects Liferay PortalSource CVE Database V5
Not known to be exploited · CVSS 4.8 Medium.
Data as of 26 Oct 2026, 11:42 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:A/VC:L/VI:L/VA:N/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 8 Oct 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
- Apply official patches or updates from Liferay as soon as they become available to address CVE-2025-43821.
- Until patches are deployed, disable or restrict access to the Commerce Product Comparison Table widget to prevent injection vectors.
- Implement strict input validation and sanitization on the Commerce Product Name field, ensuring that HTML and script tags are either escaped or removed.
- Employ robust output encoding when rendering user-supplied data in web pages to prevent script execution.
- Use Content Security Policy (CSP) headers to restrict the execution of unauthorized scripts in browsers accessing the portal.
- Conduct security awareness training for users to recognize suspicious inputs or phishing attempts that might exploit this vulnerability.
- Monitor web application logs for unusual input patterns or repeated injection attempts targeting the product name field.
- Consider deploying web application firewalls (WAF) with rules tailored to detect and block XSS payloads specific to Liferay's commerce widgets.
- Review and limit user privileges to minimize the ability of attackers to inject malicious content.
- Perform regular security assessments and code reviews focusing on input handling in custom or third-party widgets.
Description
Cross-site scripting (XSS) vulnerability in the Commerce Product Comparison Table widget in Liferay Portal 7.4.0 through 7.4.3.111, and Liferay DXP 2023.Q4.0 through 2023.Q4.5, 2023.Q3.1 through 2023.Q3.8, and 7.4 GA through update 92 allows remote attackers to inject arbitrary web script or HTML via a crafted payload injected into a Commerce Product's Name text field.