CVE-2022-42118
mediumpriority · track · 24EPSS 0.010 · 63 %ileEUUSEPSS · scored 2026-10-27
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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (8)
Products and version ranges known to be affected.
- liferay digital experience platform= 7.1nvdUScpe:2.3:a:liferay:digital_experience_platform:*:*:*:*:*:*:*:*
- liferay digital experience platform= 7.2nvdUScpe:2.3:a:liferay:digital_experience_platform:*:*:*:*:*:*:*:*
- Maven com.liferay.portal:release.dxp.bom7.1.0 → 7.1.10.fp27osvUSpkg:maven/com.liferay.portal/release.dxp.bom
- Maven com.liferay.portal:release.dxp.bom7.2.0 → 7.2.10.fp15osvUSpkg:maven/com.liferay.portal/release.dxp.bom
- Maven com.liferay:com.liferay.portal.search.web< 6.0.12osvUSpkg:maven/com.liferay/com.liferay.portal.search.web
advisories (1)
Vendor and ecosystem advisories describing this.
- GHSA-mr77-4pm4-x9vmLiferay Portal and Liferay DXP Vulnerable to XSS via the Portal Search Module2022-11-15ghsa · osvUS
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.
also known as (3)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (9)
External citations — patches, advisories, analysis.
- http://liferay.comcnnvd
- https://cxsecurity.com/cveshow/CVE-2022-42118/cnnvd
- https://issues.liferay.com/browse/LPE-17342cnnvd
- https://nvd.nist.gov/vuln/detail/CVE-2022-42118cnnvd
- https://portal.liferay.dev/learn/security/known-vulnerabilities/-/asset_publisher/HbL5mxmVrnXW/content/cve-2022-42118cnnvd
- https://issues.liferay.com/browse/LPE-17342enisa_euvd
- https://portal.liferay.dev/learn/security/known-vulnerabilities/-/asset_publisher/HbL5mxmVrnXW/content/cve-2022-42118enisa_euvd
- https://issues.liferay.com/browse/LPE-17342Vendor Advisorynvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan