A SQL injection vulnerability in the Fragment module in Liferay Portal 7.3.3 through…
Priority MEDIUM 50CWE-89Published · Updated
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- SQL injection
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CISA ADP. Fix status from CNA and GitHub. Impact type from CWE-89.
Summary
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.
Why it matters now
Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00799 56th percentileScored 2026-11-07
Fix Fixed com.liferay:com.liferay.fragment.service (Maven): 4.0.33com.liferay.portal:release.dxp.bom (Maven): 7.3.10.u4, 7.4.13.u17
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- Yes
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
| — | com.liferay:com.liferay.fragment.service (Maven) | before 4.0.33 | 4.0.33 | Patch available | GHSA-r5fj-j449-vqw2 |
| — | com.liferay.portal:release.dxp.bom (Maven) | 7.3.0 to before 7.3.10.u4 | 7.3.10.u4 | Patch available | GHSA-r5fj-j449-vqw2 |
| — | com.liferay.portal:release.dxp.bom (Maven) | 7.4.0 to before 7.4.13.u17 | 7.4.13.u17 | Patch available | GHSA-r5fj-j449-vqw2 |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
- com.liferay:com.liferay.fragment.service (Maven) Vendor— Affected before 4.0.33 Fixed in 4.0.33 Patch available GHSA-r5fj-j449-vqw2
- com.liferay.portal:release.dxp.bom (Maven) Vendor— Affected 7.3.0 to before 7.3.10.u4 Fixed in 7.3.10.u4 Patch available GHSA-r5fj-j449-vqw2
- com.liferay.portal:release.dxp.bom (Maven) Vendor— Affected 7.4.0 to before 7.4.13.u17 Fixed in 7.4.13.u17 Patch available GHSA-r5fj-j449-vqw2
Remediation
- Fix · GHSA-r5fj-j449-vqw2 com.liferay:com.liferay.fragment.service (Maven) Fixed in 4.0.33 Advisory →
- Fix · GHSA-r5fj-j449-vqw2 com.liferay.portal:release.dxp.bom (Maven) Fixed in 7.3.10.u4 Advisory →
- Fix · GHSA-r5fj-j449-vqw2 com.liferay.portal:release.dxp.bom (Maven) Fixed in 7.4.13.u17 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2022-42120
- 2026-10-03 Alias added: GHSA-r5fj-j449-vqw2
References
Advisory 3
Other 4
- https://github.com/liferay/liferay-portal/commit/6f94d203f5a194a64055e1e0ba0224d26ec54e47
- https://github.com/liferay/liferay-portal
- https://web.archive.org/web/20220801000000*/https://portal.liferay.dev/learn/security/known-vulnerabilities/-/asset_publisher/HbL5mxmVrnXW/content/cve-2022-42120
- http://liferay.com
More Liferay Dxp vulnerabilities
- TI-2022-18349 A Cross-site scripting (XSS) vulnerability in the Blog module - add new topic… CVSS 3.1MEDIUM 5.4
- TI-2022-18348 A Cross-site scripting (XSS) vulnerability in the Document and Media module - file upload… CVSS 3.1MEDIUM 5.4
- TI-2022-20404 A SQL injection vulnerability in the Friendly Url module in Liferay Portal 7.3.7, and… CVSS 3.1CRITICAL 9.8
- TI-2022-20403 A SQL injection vulnerability in the Layout module in Liferay Portal 7.1.3 through… CVSS 3.1HIGH 8.8
- TI-2024-16596 Cross-site scripting in Liferay Portal CVSS 3.1CRITICAL 9.6
- TI-2023-17506 Cross-site request forgery in Liferay Portal CVSS 3.1HIGH 8.8
Sources
- CVE-2022-42120 · CVE Program
- CVE-2022-42120 · NVD
- FIRST EPSS
- GHSA-r5fj-j449-vqw2 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences