CVE-2025-43781: Liferay Portal is vulnerable to XSS attack through its search bar portlet

CVE-2025-43781 · Severity: medium · CVSS 4 · Published 2025-09-09

Liferay Portal is vulnerable to XSS attack through its search bar portlet

Technologies: com.liferay:com.liferay.portal.search.web (Maven). Vendors: Maven.

Quick answers

Is CVE-2025-43781 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2025-43781 being exploited in the wild.
How severe is CVE-2025-43781?
Medium severity, with a CVSS score of 4, published 9 September 2025.
Which products and versions are affected?
com.liferay:com.liferay.portal.search.web (Maven) ECOSYSTEM:introduced=6.0.125,fixed=6.0.143.
Is there a fix for CVE-2025-43781?
Yes. com.liferay:com.liferay.portal.search.web (Maven): upgrade to 6.0.143 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
Am I affected by CVE-2025-43781?
Check whether you run com.liferay:com.liferay.portal.search.web (Maven) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

How to fix

  • com.liferay:com.liferay.portal.search.web (Maven): upgrade to 6.0.143 or later
    # set com.liferay:com.liferay.portal.search.web to 6.0.143 in your pom.xml or build.gradle

Affected products

  • com.liferay:com.liferay.portal.search.web (Maven) ECOSYSTEM:introduced=6.0.125,fixed=6.0.143

Identifiers

  • CVE-2025-43781
  • GHSA-x5fw-8xgx-q6c9

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.