# CVE-2022-42120: Liferay Portal and Liferay DXP Vulnerable to SQL Injection via the Fragment Module

- Severity: Critical 9.8 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.89%, higher than 60% of CVEs (2026-12-01)
- Published: 2022-11-15T00:00:00.000Z
- Modified: 2026-07-09T01:17:47.810Z
- Also known as: GHSA-r5fj-j449-vqw2
- Weaknesses: CWE-89
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- Assigned by: mitre

## 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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- com.liferay:com.liferay.fragment.service (Maven): before 4.0.33
- com.liferay.portal:release.dxp.bom (Maven): from 7.3.0 before 7.3.10.u4; from 7.4.0 before 7.4.13.u17
- liferay dxp: 7.3; 7.4
- liferay liferay_portal: from 7.3.3 up to 7.4.3.16

## Every score

- CISA-ADP: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- GitHub: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://portal.liferay.dev/learn/security/known-vulnerabilities/-/asset_publisher/HbL5mxmVrnXW/content/cve-2022-42120> (vendor-advisory, web)
- <https://issues.liferay.com/browse/LPE-17513> (issue-tracking, vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-42120> (advisory)
- <https://github.com/liferay/liferay-portal/commit/6f94d203f5a194a64055e1e0ba0224d26ec54e47> (web)
- <https://github.com/liferay/liferay-portal> (package)
- <https://web.archive.org/web/20220801000000*/https://portal.liferay.dev/learn/security/known-vulnerabilities/-/asset_publisher/HbL5mxmVrnXW/content/cve-2022-42120> (web)
- <http://liferay.com> (web)

## Sources

- CVE List: [CVE-2022-42120](https://www.cve.org/CVERecord?id=CVE-2022-42120), CVE Terms of Use, modified 2026-07-09
- GitHub Advisory Database: [GHSA-r5fj-j449-vqw2](https://github.com/advisories/GHSA-r5fj-j449-vqw2), CC-BY-4.0, modified 2025-09-05
- NVD: [CVE-2022-42120](https://nvd.nist.gov/vuln/detail/CVE-2022-42120), Public domain, modified 2026-07-09

---

Page: https://cve.day/CVE-2022-42120 · Whole record: https://cve.day/CVE-2022-42120.json · Rebuilt by cve.day 2026-11-25T22:58:16.470Z
