High severity8.8NVD Advisory· Published Nov 15, 2022· Updated Jun 17, 2026
CVE-2022-42121
CVE-2022-42121
Description
A SQL injection vulnerability in the Layout module in Liferay Portal 7.1.3 through 7.4.3.4, and Liferay DXP 7.1 before fix pack 27, 7.2 before fix pack 17, 7.3 before service pack 3, and 7.4 GA allows remote authenticated attackers to execute arbitrary SQL commands via a crafted payload injected into a page template's 'Name' field.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
com.liferay:com.liferay.layout.page.template.serviceMaven | < 4.0.17 | 4.0.17 |
com.liferay.portal:release.dxp.bomMaven | >= 7.1.0, < 7.1.10.fp27 | 7.1.10.fp27 |
com.liferay.portal:release.dxp.bomMaven | >= 7.2.0, < 7.2.10.fp17 | 7.2.10.fp17 |
Affected products
3- Liferay/Layout module in Portaldescription
- ghsa-coords2 versionspkg:maven/com.liferay/com.liferay.layout.page.template.servicepkg:maven/com.liferay.portal/release.dxp.bom
< 4.0.17+ 1 more
- (no CPE)range: < 4.0.17
- (no CPE)range: >= 7.1.0, < 7.1.10.fp27
Patches
Vulnerability mechanics
References
10- liferay.comnvdVendor AdvisoryWEB
- github.com/advisories/GHSA-gxxj-fhmr-37j9ghsaADVISORY
- issues.liferay.com/browse/LPE-17414nvdIssue TrackingVendor AdvisoryWEB
- nvd.nist.gov/vuln/detail/CVE-2022-42121ghsaADVISORY
- portal.liferay.dev/learn/security/known-vulnerabilities/-/asset_publisher/HbL5mxmVrnXW/content/cve-2022-42121nvdVendor AdvisoryWEB
- github.com/liferay/liferay-portal/commit/14c8fbbac814c0b511b4f3ade19eafb2182923c7ghsaWEB
- github.com/liferay/liferay-portal/commit/5a17acb714c57e36695b7caff8e6a2789e2cf9d0ghsaWEB
- github.com/liferay/liferay-portal/commit/82de94e9f3a4425e3ee6c187462d670ae9bfef51ghsaWEB
- github.com/liferay/liferay-portal/commit/f245f4b428186c8e5964a9ffe90ccc7e12cf7f66ghsaWEB
- liferay.dev/portal/security/known-vulnerabilities/-/asset_publisher/jekt/content/cve-2022-42121ghsaWEB
News mentions
0No linked articles in our index yet.