CVE-2022-42118
Summary
| CVE | CVE-2022-42118 |
|---|---|
| State | PUBLISHED |
| Assigner | mitre |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2022-11-15 01:15:12 UTC |
| Updated | 2026-07-04 22:16:40 UTC |
| Description | A Cross-site scripting (XSS) vulnerability in the Portal Search module in Liferay Portal 7.1.0 through 7.4.2, and Liferay DXP 7.1 before fix pack 27, 7.2 before fix pack 15, and 7.3 before service pack 3 allows remote attackers to inject arbitrary web script or HTML via the `tag` parameter. |
Risk And Classification
Primary CVSS: v3.1 6.1 MEDIUM from [email protected]
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
EPSS: 0.011500000 probability, percentile 0.630430000 (date 2026-07-05)
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 | 6.1 | MEDIUM | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| 3.1 | ADP | DECLARED | 6.1 | MEDIUM | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| 3.1 | 134c704f-9b21-4f2e-91b3-4a467353bcc0 | Secondary | 6.1 | MEDIUM | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
CVSS v3.1 Breakdown
Attack Vector
NetworkAttack Complexity
LowPrivileges Required
NoneUser Interaction
RequiredScope
ChangedConfidentiality
LowIntegrity
LowAvailability
NoneCVSS:3.1/AV:N/AC:L/PR:N/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 | 7.1 | - | All | All |
| Application | Liferay | Digital Experience Platform | 7.1 | fix_pack_1 | All | All |
| Application | Liferay | Digital Experience Platform | 7.1 | fix_pack_10 | All | All |
| Application | Liferay | Digital Experience Platform | 7.1 | fix_pack_11 | All | All |
| Application | Liferay | Digital Experience Platform | 7.1 | fix_pack_12 | All | All |
| Application | Liferay | Digital Experience Platform | 7.1 | fix_pack_13 | All | All |
| Application | Liferay | Digital Experience Platform | 7.1 | fix_pack_14 | All | All |
| Application | Liferay | Digital Experience Platform | 7.1 | fix_pack_15 | All | All |
| Application | Liferay | Digital Experience Platform | 7.1 | fix_pack_16 | All | All |
| Application | Liferay | Digital Experience Platform | 7.1 | fix_pack_17 | All | All |
| Application | Liferay | Digital Experience Platform | 7.1 | fix_pack_18 | All | All |
| Application | Liferay | Digital Experience Platform | 7.1 | fix_pack_19 | All | All |
| Application | Liferay | Digital Experience Platform | 7.1 | fix_pack_2 | All | All |
| Application | Liferay | Digital Experience Platform | 7.1 | fix_pack_20 | All | All |
| Application | Liferay | Digital Experience Platform | 7.1 | fix_pack_21 | All | All |
| Application | Liferay | Digital Experience Platform | 7.1 | fix_pack_22 | All | All |
| Application | Liferay | Digital Experience Platform | 7.1 | fix_pack_23 | All | All |
| Application | Liferay | Digital Experience Platform | 7.1 | fix_pack_24 | All | All |
| Application | Liferay | Digital Experience Platform | 7.1 | fix_pack_25 | All | All |
| Application | Liferay | Digital Experience Platform | 7.1 | fix_pack_3 | All | All |
| Application | Liferay | Digital Experience Platform | 7.1 | fix_pack_4 | All | All |
| Application | Liferay | Digital Experience Platform | 7.1 | fix_pack_5 | All | All |
| Application | Liferay | Digital Experience Platform | 7.1 | fix_pack_6 | All | All |
| Application | Liferay | Digital Experience Platform | 7.1 | fix_pack_7 | All | All |
| Application | Liferay | Digital Experience Platform | 7.1 | fix_pack_8 | All | All |
| Application | Liferay | Digital Experience Platform | 7.1 | fix_pack_9 | 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_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 | Liferay Portal | All | All | All | All |
Vendor Declared Affected Products
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| CVE-2022-42118 Reflected XSS with `tag` in Search | af854a3a-2127-422b-91ae-364da2661108 | portal.liferay.dev | Vendor Advisory |
| Digital Experience Software Tailored to Your Needs | Liferay | af854a3a-2127-422b-91ae-364da2661108 | liferay.com | Vendor Advisory |
| [LPE-17342] LSV-906: Reflected XSS with `tag` in Search - Liferay Issues | af854a3a-2127-422b-91ae-364da2661108 | issues.liferay.com | Vendor Advisory |
| 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
- 731102 Liferay Portal Multiple Cross-Site Scripting (XSS) Vulnerabilities