GHSA-mr77-4pm4-x9vm
Liferay Portal and Liferay DXP Vulnerable to XSS via the Portal Search Module
Packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| Maven | com.liferay:com.liferay.portal.search.web | < 6.0.12 | 6.0.12 |
| Maven | com.liferay.portal:release.dxp.bom | >= 7.1.0, < 7.1.10.fp27 | 7.1.10.fp27 |
| Maven | com.liferay.portal:release.dxp.bom | >= 7.2.0, < 7.2.10.fp15 | 7.2.10.fp15 |
Details
As written in the advisory (Markdown source, shown as plain text).
A Cross-site scripting (XSS) vulnerability in the Portal Search module before 6.0.12 from Liferay Portal (7.1.0 through 7.4.2), and Liferay DXP 7.1 before fix pack 27, 7.2 before fix pack 15, and 7.3 before service pack 3 allows remote attackers to inject arbitrary web script or HTML via the `tag` parameter.
References
External links from the advisory. They lead to third-party sites.
- https://nvd.nist.gov/vuln/detail/CVE-2022-42118
- https://github.com/liferay/liferay-portal/commit/b42f1e70a69a31a3f2f7004a5b1923ec1e1e5445
- https://github.com/liferay/liferay-portal
- https://issues.liferay.com/browse/LPE-17342
- https://liferay.dev/portal/security/known-vulnerabilities/-/asset_publisher/jekt/content/cve-2022-42118?p_r_p_assetEntryId=121613298&_com_li…
- http://liferay.com