Skip to main content
VulnerabilityPublished

CVE-2025-43821: Liferay Portal · XSS or 'Cross-site Scripting'

Affects Liferay PortalSource CVE Database V5

0

Not known to be exploited · CVSS 4.8 Medium.

Data as of 26 Oct 2026, 11:42 UTC

CVSS 4.0 base score
4.8Medium
How severe the flaw is on the 0–10 CVSS scale.
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:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 8 Oct 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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

ProductAffectedFixed in
Liferay PortalAffected
  • =7.4.0
Fixed in–

AI-suggested

  1. Apply official patches or updates from Liferay as soon as they become available to address CVE-2025-43821.
  2. Until patches are deployed, disable or restrict access to the Commerce Product Comparison Table widget to prevent injection vectors.
  3. Implement strict input validation and sanitization on the Commerce Product Name field, ensuring that HTML and script tags are either escaped or removed.
  4. Employ robust output encoding when rendering user-supplied data in web pages to prevent script execution.
  5. Use Content Security Policy (CSP) headers to restrict the execution of unauthorized scripts in browsers accessing the portal.
  6. Conduct security awareness training for users to recognize suspicious inputs or phishing attempts that might exploit this vulnerability.
  7. Monitor web application logs for unusual input patterns or repeated injection attempts targeting the product name field.
  8. Consider deploying web application firewalls (WAF) with rules tailored to detect and block XSS payloads specific to Liferay's commerce widgets.
  9. Review and limit user privileges to minimize the ability of attackers to inject malicious content.
  10. 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.

References

Community reviews

Loading reviews…