{"id":"CVE-2022-42122","aliases":["CVE-2022-42122","GHSA-hw56-7xj4-7gx6"],"related":[],"kind":"vulnerability","state":"published","title":"Liferay Portal and Liferay DXP Vulnerable to SQL Injection via Friendly URL Module","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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"Una vulnerabilidad de inyección SQL en el módulo URL Amigable en Liferay Portal 7.3.7 y Liferay DXP 7.3 fixpack 2 hasta la actualización 4 permite a los atacantes ejecutar comandos SQL arbitrarios a través de un payload manipulado inyectado en el campo \"título\" de una URL amigable.","source":"nvd"}],"published":"2022-11-15T00:00:00.000Z","modified":"2026-07-09T01:17:48.233Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"}],"cwes":["CWE-89"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"7.3.7","status":"affected","fixed":"7.4.0-ga1"}],"ecosystem":"Maven","package":"com.liferay.portal:release.portal.bom","purl":"pkg:maven/com.liferay.portal/release.portal.bom","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"7.3.10.fp2","status":"affected","fixed":"7.3.10.u4"}],"ecosystem":"Maven","package":"com.liferay.portal:release.dxp.bom","purl":"pkg:maven/com.liferay.portal/release.dxp.bom","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"4.0.3"}],"ecosystem":"Maven","package":"com.liferay:com.liferay.friendly.url.service","purl":"pkg:maven/com.liferay/com.liferay.friendly.url.service","source":"ghsa"},{"ranges":[{"status":"affected","version":"7.3"}],"vendor":"liferay","product":"dxp","cpe":"cpe:2.3:a:liferay:dxp:7.3:fix_pack_2:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"7.3.7"}],"vendor":"liferay","product":"liferay_portal","cpe":"cpe:2.3:a:liferay:liferay_portal:7.3.7:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://portal.liferay.dev/learn/security/known-vulnerabilities/-/asset_publisher/HbL5mxmVrnXW/content/cve-2022-42122","tags":["vendor-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://issues.liferay.com/browse/LPE-17520","tags":["issue-tracking","vendor-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-42122","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/liferay/liferay-portal","tags":["package"],"sources":["ghsa"]},{"url":"https://liferay.dev/portal/security/known-vulnerabilities/-/asset_publisher/jekt/content/cve-2022-42122?p_r_p_assetEntryId=121613466&_com_liferay_asset_publisher_web_portlet_AssetPublisherPortlet_INSTANCE_jekt_redirect=https%3A%2F%2Fliferay.dev%3A443%2Fportal%2Fsecurity%2Fknown-vulnerabilities%3Fp_p_id%3Dcom_liferay_asset_publisher_web_portlet_AssetPublisherPortlet_INSTANCE_jekt%26p_p_lifecycle%3D0%26p_p_state%3Dnormal%26p_p_mode%3Dview%26p_r_p_assetEntryId%3D121613466%26_com_liferay_asset_publisher_web_portlet_AssetPublisherPortlet_INSTANCE_jekt_cur%3D0%26p_r_p_resetCur%3Dfalse","tags":["web"],"sources":["ghsa"]},{"url":"https://web.archive.org/web/20221115051621/https://portal.liferay.dev/learn/security/known-vulnerabilities/-/asset_publisher/HbL5mxmVrnXW/content/cve-2022-42122","tags":["web"],"sources":["ghsa"]},{"url":"http://liferay.com","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"mitre","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"total","date":"2025-04-30T14:59:30.443Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-42122","url":"https://www.cve.org/CVERecord?id=CVE-2022-42122","licence":"CVE Terms of Use","modified":"2026-07-09T00:21:52.932Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-hw56-7xj4-7gx6","url":"https://github.com/advisories/GHSA-hw56-7xj4-7gx6","licence":"CC-BY-4.0","modified":"2025-09-05T19:58:02.822Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-42122","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-42122","licence":"Public domain","modified":"2026-07-09T01:17:48.233Z"}],"updatedAt":"2026-11-25T22:58:16.471Z","epss":{"score":0.00869,"percentile":0.59863,"date":"2026-12-01T12:00:22.000Z"}}