Vulnerabilities · 2022 · Liferay
CVE-2022-42112
Liferay Digital Experience Platform vulnerability
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
Digital Experience Platform, Dxp, Liferay Portal. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Liferay Digital Experience Platform runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- portal.liferay.dev/learn/security/known-vulnerabilities/-/asset_publisher/HbL5mxmVrnXW/con · Patch
- liferay.com
- nvd.nist.gov/vuln/detail/CVE-2022-42112
- github.com/liferay/liferay-portal/commit/1f6521605152c0f8f82f490300215f08f885fe48
- liferay.atlassian.net/browse/LPE-17536
- web.archive.org/web/20220701000000*/https://portal.liferay.dev/learn/security/known-vulner
- github.com/advisories/GHSA-7f7g-vhff-mjqj
- nvd.nist.gov/vuln/detail/CVE-2022-42112
- cve.org/CVERecord?id=CVE-2022-42112
More vulnerabilities in Liferay products
CVE-2025-62276CVE-2025-62275CVE-2025-62267CVE-2025-62266CVE-2025-62265CVE-2025-62264CVE-2025-62263CVE-2025-62262All 338
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.