CVE-2022-42118: Liferay Portal and Liferay DXP Vulnerable to XSS via the Portal Search Module

CVE-2022-42118 · Severity: low · CVSS 3.1 · Published 2022-11-15

Liferay Portal and Liferay DXP Vulnerable to XSS via the Portal Search Module

Technologies: com.liferay:com.liferay.portal.search.web (Maven), com.liferay.portal:release.dxp.bom (Maven). Vendors: Maven.

Quick answers

Is CVE-2022-42118 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2022-42118 being exploited in the wild.
How severe is CVE-2022-42118?
Low severity, with a CVSS score of 3.1, published 15 November 2022.
Which products and versions are affected?
com.liferay:com.liferay.portal.search.web (Maven) ECOSYSTEM:introduced=0,fixed=6.0.12; com.liferay.portal:release.dxp.bom (Maven) ECOSYSTEM:introduced=7.1.0,fixed=7.1.10.fp27.
Is there a fix for CVE-2022-42118?
Yes. com.liferay:com.liferay.portal.search.web (Maven): upgrade to 6.0.12 or later; com.liferay.portal:release.dxp.bom (Maven): upgrade to 7.1.10.fp27 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
Am I affected by CVE-2022-42118?
Check whether you run com.liferay:com.liferay.portal.search.web (Maven) or com.liferay.portal:release.dxp.bom (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.12 or later
    # set com.liferay:com.liferay.portal.search.web to 6.0.12 in your pom.xml or build.gradle
  • com.liferay.portal:release.dxp.bom (Maven): upgrade to 7.1.10.fp27 or later
    # set com.liferay.portal:release.dxp.bom to 7.1.10.fp27 in your pom.xml or build.gradle

Affected products

  • com.liferay:com.liferay.portal.search.web (Maven) ECOSYSTEM:introduced=0,fixed=6.0.12
  • com.liferay.portal:release.dxp.bom (Maven) ECOSYSTEM:introduced=7.1.0,fixed=7.1.10.fp27

Identifiers

  • CVE-2022-42118
  • GHSA-mr77-4pm4-x9vm

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