Live threats

All CVEs / Liferay

CVE-2022-42120Liferay Dxp

Critical 9.8 No auth needed

Priority
74
CVSS 3.1
9.8
EPSS
0.9%
probability of exploitation in 30 days · percentile 59
Auth required
No
Published
Nov 15, 2022
Updated
Jul 9, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-89
SSVC (CISA)
Exploitation: none · Automatable: yes · Technical impact: total
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Dxp.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Maven com.liferay.portal:release.dxp.bom ≥ 7.3.0 < 7.3.10.u4 7.3.10.u4 —
Maven com.liferay.portal:release.dxp.bom ≥ 7.4.0 < 7.4.13.u17 7.4.13.u17 —
Maven com.liferay:com.liferay.fragment.service < 4.0.33 4.0.33 —

Per OSV / GitHub Advisories (GHSA-r5fj-j449-vqw2). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
liferaydxp7.3
liferaydxp7.4
liferayliferay_portal≥ 7.3.3 ≤ 7.4.3.16

Official sources

References

Links published by the sources. Open them with care.