Skip to content
Fencer Vulns
medium 5.4

CVE-2022-42112 json

Liferay Portal and Liferay DXP Vulnerable to XSS via the Portal Search Module

published 2022-10-18 4 y ago modified 2026-07-09 4 mo ago also GHSA-7f7g-vhff-mjqj , EUVD-2022-45198

cvss
5.4
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
0.6%
EPSS 0.6% chance of exploitation in 30 days, percentile 48%
public exploits
0
none known

Summary

A Cross-site scripting (XSS) vulnerability in the Portal Search module's Sort widget in Liferay Portal 7.2.0 through 7.4.3.24, and Liferay DXP 7.2 before fix pack 19, 7.3 before update 5, and DXP 7.4 before update 25 allows remote attackers to inject arbitrary web script or HTML via a crafted payload.

Patch / fix

  • maven com.liferay:com.liferay.portal.search.web 6.0.45
  • maven com.liferay.portal:release.dxp.bom 7.2.10.fp19, 7.3.10.u5, 7.4.13.u25
  • liferay digital_experience_platform 7.2
  • liferay liferay_portal 7.4.3.25

CISA SSVC

Exploitation
none
Automatable
no
Technical impact
partial
Assessed
18 mo ago

Exploit prediction

0.60% chance of exploitation in the next 30 days, higher than 48% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
CISA ADP 3.1 5.4 CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
NVD 3.1 5.4 CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
CNA 3.1 5.4 CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
GitHub 3.1 5.4 CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

Affected packages

ecosystem package affected fixed in
maven com.liferay:com.liferay.portal.search.web
<6.0.45
6.0.45
maven com.liferay.portal:release.dxp.bom
>=7.2.0, <7.2.10.fp19
>=7.3.0, <7.3.10.u5
>=7.4.0, <7.4.13.u25
7.2.10.fp19
7.3.10.u5
7.4.13.u25

Classification

Weakness
  • CWE-79 Improper Neutralization of Input During Web Page Generation

References

Sources

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.