CVE-2022-42122 json
Liferay Portal and Liferay DXP Vulnerable to SQL Injection via Friendly URL Module
published 2022-11-15 3 y ago modified 2026-07-09 4 mo ago also GHSA-hw56-7xj4-7gx6 , EUVD-2022-45208
- cvss
- 9.8
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.8%
- EPSS 0.8% chance of exploitation in 30 days, percentile 56%
- public exploits
- 0
- none known
Summary
A SQL injection vulnerability in the Friendly Url module in Liferay Portal 7.3.7, and Liferay DXP 7.3 fix pack 2 through update 4 allows attackers to execute arbitrary SQL commands via a crafted payload injected into the `title` field of a friendly URL.
Patch / fix
- maven com.liferay.portal:release.portal.bom 7.4.0-ga1
- maven com.liferay.portal:release.dxp.bom 7.3.10.u4
- maven com.liferay:com.liferay.friendly.url.service 4.0.3
CISA SSVC
- Exploitation
- none
- Automatable
- yes
- Technical impact
- total
- Assessed
- 18 mo ago
Exploit prediction
0.78% chance of exploitation in the next 30 days, higher than 56% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CISA ADP | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| CNA | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| GitHub | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| maven | com.liferay.portal:release.portal.bom | >=7.3.7, <7.4.0-ga1 |
7.4.0-ga1 |
| maven | com.liferay.portal:release.dxp.bom | >=7.3.10.fp2, <7.3.10.u4 |
7.3.10.u4 |
| maven | com.liferay:com.liferay.friendly.url.service | <4.0.3 |
4.0.3 |
Classification
- Weakness
-
- CWE-89 Improper Neutralization of Special Elements used in an SQL Command
References
-
portal.liferay.dev
/learn/security/known-vulnerabilities/-/asset_publisher/HbL5mxmVrnXW/content/cve-2022-42122
web, vendor-advisory
-
issues.liferay.com
/browse/LPE-17520
web, issue-tracking, vendor-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2022-42122
advisory
-
github.com
/liferay/liferay-portal
package
-
liferay.dev
/portal/security/known-vulnerabilities/-/asset_publisher/jekt/content/cve-2022-42122?p_r_p_assetEntryId=121613
web
-
web.archive.org
/web/20221115051621/https://portal.liferay.dev/learn/security/known-vulnerabilities/-/asset_publisher/HbL5mxmV
web
-
liferay.com
web
Sources
- CVE List CVE-2022-42122
- GitHub Advisory GHSA-hw56-7xj4-7gx6
- NVD CVE-2022-42122
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.