Moderate severityNVD Advisory· Published Nov 15, 2022· Updated Aug 3, 2024
CVE-2022-42111
CVE-2022-42111
Description
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
com.liferay:com.liferay.sharing.webMaven | < 3.0.9 | 3.0.9 |
com.liferay.portal:release.dxp.bomMaven | >= 7.2.0, < 7.2.10.fp19 | 7.2.10.fp19 |
com.liferay.portal:release.dxp.bomMaven | >= 7.3.0, < 7.3.10.u4 | 7.3.10.u4 |
Affected products
3- Liferay/Sharing module's user notification in Portaldescription
- ghsa-coords2 versions
< 3.0.9+ 1 more
- (no CPE)range: < 3.0.9
- (no CPE)range: >= 7.2.0, < 7.2.10.fp19
Patches
Vulnerability mechanics
Generated on May 9, 2026. Inputs: CWE entries + fix-commit diffs from this CVE's patches. Citations validated against bundle.
References
9- github.com/advisories/GHSA-p768-r2m2-8vjrghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2022-42111ghsaADVISORY
- github.com/liferay/liferay-portal/commit/0307ce50253f03203e613534ea03061b0b38caf0ghsaWEB
- github.com/liferay/liferay-portal/commit/4dec737577cfa2d7dd857bf9b4a4ffb5fc02dcc7ghsaWEB
- github.com/liferay/liferay-portal/commit/5a0d16269d0a2e1b370ad8c38ee4d11f34476af5ghsaWEB
- github.com/liferay/liferay-portal/commit/9d53dd83c80833c318f80b7116c441cf005cc781ghsaWEB
- issues.liferay.com/browse/LPE-17379ghsaWEB
- liferay.dev/portal/security/known-vulnerabilities/-/asset_publisher/jekt/content/cve-2022-42111ghsaWEB
- portal.liferay.dev/learn/security/known-vulnerabilities/-/asset_publisher/HbL5mxmVrnXW/content/cve-2022-42111mitre
News mentions
0No linked articles in our index yet.