What’s Vulnerable › Vulnerabilities
CVE-2022-42112
- Severity: medium (CVSS 5.4 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.6% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2022-10-18 · updated 2026-07-09
- Weakness: CWE-79
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 products
- Liferay Digital Experience Platform: before 7.2; 7.2, 7.2-fix_pack_1, 7.2-fix_pack_10, 7.2-fix_pack_11, 7.2-fix_pack_12, 7.2-fix_pack_13 (+11) — fixed in 7.2
- Liferay DXP: 7.3, 7.3-sp1, 7.3-sp2, 7.3-sp3, 7.3-update_1, 7.3-update_2 (+27)
- Liferay Portal: from 7.2.0 before 7.4.3.25 — fixed in 7.4.3.25
How to fix
Upgrade to a fixed version: Liferay Digital Experience Platform 7.2; Liferay Portal 7.4.3.25. Check the vendor advisory for mitigations.
References
- https://portal.liferay.dev/learn/security/known-vulnerabilities/-/asset_publisher/HbL5mxmVrnXW/content/cve-2022-42112
- https://portal.liferay.dev/learn/security/known-vulnerabilities/-/asset_publisher/HbL5mxmVrnXW/content/cve-2022-42112
Get alerted when CVE-2022-42112 or the next vulnerability affects your stack