Skip to content
OpenAdvisories
Medium · 5.4 CVE-2022-42112 EUVD-2022-45198GHSA-7f7g-vhff-mjqj

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

Published Oct 18, 2022 · Updated Jul 9, 2026 · Assigned by mitre

Description

A Cross-site scripting (XSS) vulnerability in the Portal Search module's Sort widget in Liferay Portal 7.2.0 through 7.4.3.24, and Liferay DXP 7.2 before fix pack 19, 7.3 before update 5, and DXP 7.4 before update 25 allows remote attackers to inject arbitrary web script or HTML via a crafted payload.

Affected packages

EcosystemPackageAffectedFixedRecord
Maven com.liferay:com.liferay.portal.search.web < 6.0.45 6.0.45 GHSA-7f7g-vhff-mjqj
Maven com.liferay.portal:release.dxp.bom >= 7.2.0, < 7.2.10.fp19 7.2.10.fp19 GHSA-7f7g-vhff-mjqj
Maven com.liferay.portal:release.dxp.bom >= 7.3.0, < 7.3.10.u5 7.3.10.u5 GHSA-7f7g-vhff-mjqj
Maven com.liferay.portal:release.dxp.bom >= 7.4.0, < 7.4.13.u25 7.4.13.u25 GHSA-7f7g-vhff-mjqj

References