Skip to content
Fencer Intel
medium 5.4

CVE-2022-42111 json

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

published 3y ago modified 4mo ago also GHSA-p768-r2m2-8vjr , EUVD-2022-45197

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

Summary

A Cross-site scripting (XSS) vulnerability in the Sharing module's user notification in Liferay Portal 7.2.1 through 7.4.2, and Liferay DXP 7.2 before fix pack 19, and 7.3 before update 4 allows remote attackers to inject arbitrary web script or HTML by sharing an asset with a crafted payload.

Patch / fix

  • maven com.liferay:com.liferay.sharing.web 3.0.9
  • maven com.liferay.portal:release.dxp.bom 7.2.10.fp19, 7.3.10.u4

Is CVE-2022-42111 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.

Check with Fencer

Exploit prediction

0.57% chance of exploitation in the next 30 days, higher than 47% of all scored CVEs (FIRST EPSS, 2026-11-09).

CVSS scores

assigned by version score vector
NVD 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.sharing.web
<3.0.9
3.0.9
maven com.liferay.portal:release.dxp.bom
>=7.2.0, <7.2.10.fp19
>=7.3.0, <7.3.10.u4
7.2.10.fp19
7.3.10.u4

Classification

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

References

Sources

Fencer Intel 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.