CVE-2022-42111 json
Liferay Portal and Liferay DXP Vulnerable to XSS via the Sharing Module
published 2022-11-15 3 y ago modified 2026-06-17 4 mo 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
Exploit prediction
0.57% chance of exploitation in the next 30 days, higher than 47% of all scored CVEs (FIRST EPSS, 2026-11-08).
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
-
github.com
/liferay/liferay-portal/commit/0307ce50253f03203e613534ea03061b0b38caf0
web
-
github.com
/liferay/liferay-portal/commit/4dec737577cfa2d7dd857bf9b4a4ffb5fc02dcc7
web
-
github.com
/liferay/liferay-portal/commit/5a0d16269d0a2e1b370ad8c38ee4d11f34476af5
web
-
github.com
/liferay/liferay-portal/commit/9d53dd83c80833c318f80b7116c441cf005cc781
web
-
portal.liferay.dev
/learn/security/known-vulnerabilities/-/asset_publisher/HbL5mxmVrnXW/content/cve-2022-42111
vendor-advisory
-
issues.liferay.com
/browse/LPE-17379
web, issue-tracking, vendor-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2022-42111
advisory
-
github.com
/liferay/liferay-portal
package
-
liferay.dev
/portal/security/known-vulnerabilities/-/asset_publisher/jekt/content/cve-2022-42111?p_r_p_assetEntryId=121612
web
Sources
- CVE List CVE-2022-42111
- GitHub Advisory GHSA-p768-r2m2-8vjr
- NVD CVE-2022-42111
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.