6.1medium
Liferay Portal and Liferay DXP Vulnerable to XSS via the Portal Search Module
- Severity
- 6.1medium CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 1.25% (higher than 70% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- mitre
- Also known as
- GHSA-mr77-4pm4-x9vm
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Unspecified product | n/a | CVE List |
| com.liferay:com.liferay.portal.search.web (Maven) | before 6.0.12 | GitHub Advisory Database |
| com.liferay.portal:release.dxp.bom (Maven) | from 7.1.0 before 7.1.10.fp27, from 7.2.0 before 7.2.10.fp15 | GitHub Advisory Database |
| liferay liferay_portal | from 7.1.0 up to 7.4.2 | NVD |
| liferay digital_experience_platform | 7.1, 7.2 | NVD |
| liferay dxp | 7.3 | NVD |
All scores
| CISA-ADP | 6.1medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| GitHub | 6.1medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| NVD | 6.1medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
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.
GitHub Advisory Database
A Cross-site scripting (XSS) vulnerability in the Portal Search module before 6.0.12 from 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.
NVD (es)
Una vulnerabilidad de Cross-Site Scripting (XSS) en el módulo Portal Search en Liferay Portal 7.1.0 hasta 7.4.2 y Liferay DXP 7.1 antes del fix pack 27, 7.2 antes del fix pack 15 y 7.3 antes del service pack 3 permite a atacantes remotos inyectar script web o HTML arbitrario a través del parámetro "etiqueta".
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2022-42118 changed 2026-07-09 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-mr77-4pm4-x9vm changed 2025-08-08 | CC-BY-4.0 |
| NVD | CVE-2022-42118 changed 2026-07-09 | Public domain |