What’s Vulnerable › Vulnerabilities
CVE-2022-42118
- Severity: medium (CVSS 6.1 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.0% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2022-11-15 · updated 2026-07-09
- Weakness: CWE-79
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 products
- Liferay Digital Experience Platform: 7.1, 7.1-fix_pack_1, 7.1-fix_pack_10, 7.1-fix_pack_11, 7.1-fix_pack_12, 7.1-fix_pack_13 (+35)
- Liferay DXP: 7.3, 7.3-sp1, 7.3-sp2
- Liferay Portal: from 7.1.0 through 7.4.2
References
- https://issues.liferay.com/browse/LPE-17342
- https://portal.liferay.dev/learn/security/known-vulnerabilities/-/asset_publisher/HbL5mxmVrnXW/content/cve-2022-42118
- https://issues.liferay.com/browse/LPE-17342
- https://portal.liferay.dev/learn/security/known-vulnerabilities/-/asset_publisher/HbL5mxmVrnXW/content/cve-2022-42118
Get alerted when CVE-2022-42118 or the next vulnerability affects your stack