CVE-2022-42118 json
Liferay Portal and Liferay DXP Vulnerable to XSS via the Portal Search Module
published 2022-11-15 3 y ago modified 2026-07-09 4 mo ago also GHSA-mr77-4pm4-x9vm , EUVD-2022-45204
- cvss
- 6.1
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.0%
- EPSS 1.0% chance of exploitation in 30 days, percentile 63%
- public exploits
- 0
- none known, plus a Nuclei check
Summary
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.
Patch / fix
- maven com.liferay:com.liferay.portal.search.web 6.0.12
- maven com.liferay.portal:release.dxp.bom 7.1.10.fp27, 7.2.10.fp15
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 18 mo ago
Exploit prediction
1.02% chance of exploitation in the next 30 days, higher than 63% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- Nuclei template Liferay Portal - Cross-site Scripting nuclei detection template
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CISA ADP | 3.1 | 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| NVD | 3.1 | 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| CNA | 3.1 | 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| GitHub | 3.1 | 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| maven | com.liferay:com.liferay.portal.search.web | <6.0.12 |
6.0.12 |
| maven | com.liferay.portal:release.dxp.bom | >=7.1.0, <7.1.10.fp27 >=7.2.0, <7.2.10.fp15 |
7.1.10.fp27 7.2.10.fp15 |
Classification
- Weakness
-
- CWE-79 Improper Neutralization of Input During Web Page Generation
References
-
github.com
/liferay/liferay-portal/commit/b42f1e70a69a31a3f2f7004a5b1923ec1e1e5445
web
-
portal.liferay.dev
/learn/security/known-vulnerabilities/-/asset_publisher/HbL5mxmVrnXW/content/cve-2022-42118
vendor-advisory
-
issues.liferay.com
/browse/LPE-17342
web, vendor-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2022-42118
advisory
-
github.com
/liferay/liferay-portal
package
-
liferay.dev
/portal/security/known-vulnerabilities/-/asset_publisher/jekt/content/cve-2022-42118?p_r_p_assetEntryId=121613
web
-
liferay.com
web
Sources
- CVE List CVE-2022-42118
- GitHub Advisory GHSA-mr77-4pm4-x9vm
- NVD CVE-2022-42118
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.