CVE-2022-42112
Summary
| CVE | CVE-2022-42112 |
|---|---|
| State | PUBLISHED |
| Assigner | mitre |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2022-10-18 21:15:16 UTC |
| Updated | 2026-07-09 01:17:46 UTC |
| Description | 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. |
Risk And Classification
Primary CVSS: v3.1 5.4 MEDIUM from [email protected]
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
EPSS: 0.004790000 probability, percentile 0.380690000 (date 2026-07-13)
Problem Types: CWE-79 | n/a | CWE-79 CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | [email protected] | Primary | 5.4 | MEDIUM | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
| 3.1 | ADP | DECLARED | 5.4 | MEDIUM | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
| 3.1 | 134c704f-9b21-4f2e-91b3-4a467353bcc0 | Secondary | 5.4 | MEDIUM | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
CVSS v3.1 Breakdown
Attack Vector
NetworkAttack Complexity
LowPrivileges Required
LowUser Interaction
RequiredScope
ChangedConfidentiality
LowIntegrity
LowAvailability
NoneCVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Application | Liferay | Digital Experience Platform | All | All | All | All |
| Application | Liferay | Digital Experience Platform | 7.2 | - | All | All |
| Application | Liferay | Digital Experience Platform | 7.2 | fix_pack_1 | All | All |
| Application | Liferay | Digital Experience Platform | 7.2 | fix_pack_10 | All | All |
| Application | Liferay | Digital Experience Platform | 7.2 | fix_pack_11 | All | All |
| Application | Liferay | Digital Experience Platform | 7.2 | fix_pack_12 | All | All |
| Application | Liferay | Digital Experience Platform | 7.2 | fix_pack_13 | All | All |
| Application | Liferay | Digital Experience Platform | 7.2 | fix_pack_14 | All | All |
| Application | Liferay | Digital Experience Platform | 7.2 | fix_pack_15 | All | All |
| Application | Liferay | Digital Experience Platform | 7.2 | fix_pack_18 | All | All |
| Application | Liferay | Digital Experience Platform | 7.2 | fix_pack_2 | All | All |
| Application | Liferay | Digital Experience Platform | 7.2 | fix_pack_3 | All | All |
| Application | Liferay | Digital Experience Platform | 7.2 | fix_pack_4 | All | All |
| Application | Liferay | Digital Experience Platform | 7.2 | fix_pack_5 | All | All |
| Application | Liferay | Digital Experience Platform | 7.2 | fix_pack_6 | All | All |
| Application | Liferay | Digital Experience Platform | 7.2 | fix_pack_7 | All | All |
| Application | Liferay | Digital Experience Platform | 7.2 | fix_pack_8 | All | All |
| Application | Liferay | Digital Experience Platform | 7.2 | fix_pack_9 | All | All |
| Application | Liferay | Dxp | 7.3 | - | All | All |
| Application | Liferay | Dxp | 7.3 | sp1 | All | All |
| Application | Liferay | Dxp | 7.3 | sp2 | All | All |
| Application | Liferay | Dxp | 7.3 | sp3 | All | All |
| Application | Liferay | Dxp | 7.3 | update_1 | All | All |
| Application | Liferay | Dxp | 7.3 | update_2 | All | All |
| Application | Liferay | Dxp | 7.3 | update_3 | All | All |
| Application | Liferay | Dxp | 7.3 | update_4 | All | All |
| Application | Liferay | Dxp | 7.4 | ga1 | All | All |
| Application | Liferay | Dxp | 7.4 | update_1 | All | All |
| Application | Liferay | Dxp | 7.4 | update_10 | All | All |
| Application | Liferay | Dxp | 7.4 | update_11 | All | All |
| Application | Liferay | Dxp | 7.4 | update_12 | All | All |
| Application | Liferay | Dxp | 7.4 | update_13 | All | All |
| Application | Liferay | Dxp | 7.4 | update_14 | All | All |
| Application | Liferay | Dxp | 7.4 | update_15 | All | All |
| Application | Liferay | Dxp | 7.4 | update_16 | All | All |
| Application | Liferay | Dxp | 7.4 | update_17 | All | All |
| Application | Liferay | Dxp | 7.4 | update_18 | All | All |
| Application | Liferay | Dxp | 7.4 | update_19 | All | All |
| Application | Liferay | Dxp | 7.4 | update_2 | All | All |
| Application | Liferay | Dxp | 7.4 | update_20 | All | All |
| Application | Liferay | Dxp | 7.4 | update_21 | All | All |
| Application | Liferay | Dxp | 7.4 | update_22 | All | All |
| Application | Liferay | Dxp | 7.4 | update_23 | All | All |
| Application | Liferay | Dxp | 7.4 | update_24 | All | All |
| Application | Liferay | Dxp | 7.4 | update_3 | All | All |
| Application | Liferay | Dxp | 7.4 | update_4 | All | All |
| Application | Liferay | Dxp | 7.4 | update_5 | All | All |
| Application | Liferay | Dxp | 7.4 | update_6 | All | All |
| Application | Liferay | Dxp | 7.4 | update_7 | All | All |
| Application | Liferay | Dxp | 7.4 | update_8 | All | All |
| Application | Liferay | Dxp | 7.4 | update_9 | All | All |
| Application | Liferay | Liferay Portal | All | All | All | All |
Vendor Declared Affected Products
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| CVE-2022-42112 Stored XSS with sort by label in Search Sort widget | af854a3a-2127-422b-91ae-364da2661108 | portal.liferay.dev | Patch, Vendor Advisory |
| Digital Experience Software Tailored to Your Needs | Liferay | MITRE | liferay.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
Legacy QID Mappings
- 731106 Liferay Portal Stored Cross-Site Scripting (XSS) Vulnerability (CVE-2022-42112)