Critical severity9.8NVD Advisory· Published Nov 15, 2022· Updated Jun 17, 2026
CVE-2022-42120
CVE-2022-42120
Description
A SQL injection vulnerability in the Fragment module in Liferay Portal 7.3.3 through 7.4.3.16, and Liferay DXP 7.3 before update 4, and 7.4 before update 17 allows attackers to execute arbitrary SQL commands via a PortletPreferences' namespace attribute.
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.fragment.serviceMaven | < 4.0.33 | 4.0.33 |
com.liferay.portal:release.dxp.bomMaven | >= 7.3.0, < 7.3.10.u4 | 7.3.10.u4 |
com.liferay.portal:release.dxp.bomMaven | >= 7.4.0, < 7.4.13.u17 | 7.4.13.u17 |
Affected products
3- Liferay/Fragment module in Portaldescription
- ghsa-coords2 versions
< 4.0.33+ 1 more
- (no CPE)range: < 4.0.33
- (no CPE)range: >= 7.3.0, < 7.3.10.u4
Patches
Vulnerability mechanics
References
7- liferay.comnvdVendor AdvisoryWEB
- github.com/advisories/GHSA-r5fj-j449-vqw2ghsaADVISORY
- issues.liferay.com/browse/LPE-17513nvdIssue TrackingVendor AdvisoryWEB
- nvd.nist.gov/vuln/detail/CVE-2022-42120ghsaADVISORY
- portal.liferay.dev/learn/security/known-vulnerabilities/-/asset_publisher/HbL5mxmVrnXW/content/cve-2022-42120nvdVendor AdvisoryWEB
- github.com/liferay/liferay-portal/commit/6f94d203f5a194a64055e1e0ba0224d26ec54e47ghsaWEB
- web.archive.org/web/20220801000000*/https://portal.liferay.dev/learn/security/known-vulnerabilities/-/asset_publisher/HbL5mxmVrnXW/content/cve-2022-42120ghsaWEB
News mentions
0No linked articles in our index yet.