{"cve":"CVE-2022-42120","nvd":{"published":"2022-11-15T01:15:12.733","modified":"2026-07-09T01:17:47.810","status":"Modified","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.","cvss_v4":null,"cvss_v3":{"version":"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},"cwes":["CWE-89"],"references":["https://issues.liferay.com/browse/LPE-17513","https://portal.liferay.dev/learn/security/known-vulnerabilities/-/asset_publisher/HbL5mxmVrnXW/content/cve-2022-42120","https://issues.liferay.com/browse/LPE-17513","https://portal.liferay.dev/learn/security/known-vulnerabilities/-/asset_publisher/HbL5mxmVrnXW/content/cve-2022-42120"],"products":["liferay:dxp","liferay:liferay_portal"],"source":"nvd","synced_at":"2026-10-19T21:37:08.729216836+00:00"},"epss":{"cve":"CVE-2022-42120","score":0.00799,"percentile":0.56573,"date":"2026-11-01"},"kev":null,"osv":[{"id":"GHSA-r5fj-j449-vqw2","url":"https://osv.dev/vulnerability/GHSA-r5fj-j449-vqw2","summary":"Liferay Portal and Liferay DXP Vulnerable to SQL Injection via the Fragment Module","modified":"2025-09-05T19:56:19.713926Z","packages":[{"ecosystem":"Maven","name":"com.liferay:com.liferay.fragment.service","purl":"pkg:maven/com.liferay/com.liferay.fragment.service","ranges":["<4.0.33"],"fixed":["4.0.33"]},{"ecosystem":"Maven","name":"com.liferay.portal:release.dxp.bom","purl":"pkg:maven/com.liferay.portal/release.dxp.bom","ranges":[">=7.3.0 <7.3.10.u4"],"fixed":["7.3.10.u4"]},{"ecosystem":"Maven","name":"com.liferay.portal:release.dxp.bom","purl":"pkg:maven/com.liferay.portal/release.dxp.bom","ranges":[">=7.4.0 <7.4.13.u17"],"fixed":["7.4.13.u17"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}