{"id":"CVE-2022-42118","published":"2022-11-15T00:00:00Z","modified":"2026-07-09T00:21:48Z","title":"A Cross-site scripting (XSS) vulnerability in the Portal Search module in Liferay Portal 7.1.0 through 7.4.2, and…","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.1,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.0114,"percentile":0.66352,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://portal.liferay.dev/learn/security/known-vulnerabilities/-/asset_publisher/HbL5mxmVrnXW/content/cve-2022-42118","tags":[]},{"url":"https://issues.liferay.com/browse/LPE-17342","tags":[]}],"priority":{"score":22.5,"factors":[{"name":"EPSS percentile","points":13.27},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":4.27}]},"exploitSources":{"nuclei":[{"id":"CVE-2022-42118","name":"Liferay Portal - Cross-site Scripting","severity":"medium","path":"http/cves/2022/CVE-2022-42118.yaml","url":"https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2022/CVE-2022-42118.yaml"}],"provenance":"source"},"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-04-30T14:37:48.681471Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Maven","package":"com.liferay:com.liferay.portal.search.web","vulnerableRanges":["<6.0.12"],"patched":["6.0.12"],"from":["GHSA-mr77-4pm4-x9vm"],"provenance":"source"},{"ecosystem":"Maven","package":"com.liferay.portal:release.dxp.bom","vulnerableRanges":[">=7.1.0, <7.1.10.fp27",">=7.2.0, <7.2.10.fp15"],"patched":["7.1.10.fp27","7.2.10.fp15"],"from":["GHSA-mr77-4pm4-x9vm"],"provenance":"source"}],"summary":{"text":"A cross-site scripting flaw in the Portal Search module of 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) lets input in the tag parameter be rendered without proper neutralisation. An remote attacker can inject arbitrary web script or HTML, and exploitation requires user interaction, such as a victim being induced to open a crafted link or page.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:03:22Z"},"euvd":{"id":"EUVD-2022-45204","exploited":false,"provenance":"source"}}