CVE-2022-42111Liferay Portal
Medium 5.4
Follow: this CVE · Liferay · Liferay Portal We alert you by email or Slack (account required).
- Priority
- 32
- CVSS 3.1
- 5.4
- EPSS
- 0.6% probability of exploitation in 30 days · percentile 45
- Auth required
- Yes
- Published
- Nov 15, 2022
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-79
- Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
What happens
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.
What to do
- Apply the vendor's security update for Liferay Portal.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Maven | com.liferay.portal:release.dxp.bom |
≥ 7.2.0 < 7.2.10.fp19 |
7.2.10.fp19 |
— |
| Maven | com.liferay.portal:release.dxp.bom |
≥ 7.3.0 < 7.3.10.u4 |
7.3.10.u4 |
— |
| Maven | com.liferay:com.liferay.sharing.web |
< 3.0.9 |
3.0.9 |
— |
Per OSV / GitHub Advisories (GHSA-p768-r2m2-8vjr). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| liferay | liferay_portal | ≥ 7.2.1 ≤ 7.4.2 |
| liferay | digital_experience_platform | 7.2 |
| liferay | digital_experience_platform | 7.2 |
| liferay | digital_experience_platform | 7.2 |
| liferay | digital_experience_platform | 7.2 |
| liferay | digital_experience_platform | 7.2 |
| liferay | digital_experience_platform | 7.2 |
| liferay | digital_experience_platform | 7.2 |
| liferay | digital_experience_platform | 7.2 |
| liferay | digital_experience_platform | 7.2 |
| liferay | digital_experience_platform | 7.2 |
| liferay | digital_experience_platform | 7.2 |
| liferay | digital_experience_platform | 7.2 |
| liferay | digital_experience_platform | 7.2 |
| liferay | digital_experience_platform | 7.2 |
| liferay | digital_experience_platform | 7.2 |
| liferay | digital_experience_platform | 7.2 |
| liferay | dxp | 7.3 |
| liferay | dxp | 7.3 |
| liferay | dxp | 7.3 |
| liferay | dxp | 7.3 |
Official sources
References
Links published by the sources. Open them with care.
- issues.liferay.com Issue Tracking Vendor Advisory
- portal.liferay.dev Vendor Advisory