Vulnerabilities · 2022 · Liferay
CVE-2022-42111
Liferay Portal vulnerability
A Cross-site scripting (XSS) vulnerability in the Sharing module's user notification in Liferay Portal 7.2.1 through 7.4.2, and Liferay DXP 7.2 before fix pack 19, and 7.3 before update 4 allows remote attackers to inject arbitrary web script or HTML by sharing an asset with a crafted payload.
Affected products
Liferay Portal, Digital Experience Platform, Dxp. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Liferay Portal 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
- issues.liferay.com/browse/LPE-17379 · Vendor Advisory
- portal.liferay.dev/learn/security/known-vulnerabilities/-/asset_publisher/HbL5mxmVrnXW/con · Vendor Advisory
- nvd.nist.gov/vuln/detail/CVE-2022-42111
- github.com/liferay/liferay-portal/commit/0307ce50253f03203e613534ea03061b0b38caf0
- github.com/liferay/liferay-portal/commit/4dec737577cfa2d7dd857bf9b4a4ffb5fc02dcc7
- github.com/liferay/liferay-portal/commit/5a0d16269d0a2e1b370ad8c38ee4d11f34476af5
- github.com/liferay/liferay-portal/commit/9d53dd83c80833c318f80b7116c441cf005cc781
- github.com/advisories/GHSA-p768-r2m2-8vjr
- nvd.nist.gov/vuln/detail/CVE-2022-42111
- cve.org/CVERecord?id=CVE-2022-42111
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.