{"id":"CVE-2022-42112","published":"2022-10-18T00:00:00Z","modified":"2026-07-09T00:21:40Z","title":"A Cross-site scripting (XSS) vulnerability in the Portal Search module's Sort widget in Liferay Portal 7.2.0 through…","vendor":null,"product":null,"tier":"tail","description":{"text":"A Cross-site scripting (XSS) vulnerability in the Portal Search module's Sort widget in Liferay Portal 7.2.0 through 7.4.3.24, and Liferay DXP 7.2 before fix pack 19, 7.3 before update 5, and DXP 7.4 before update 25 allows remote attackers to inject arbitrary web script or HTML via a crafted payload.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.4,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.00592,"percentile":0.48175,"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-42112","tags":[]}],"priority":{"score":13.4,"factors":[{"name":"EPSS percentile","points":9.63},{"name":"CVSS severity","points":3.78}]},"affected":[{"ecosystem":"Maven","package":"com.liferay:com.liferay.portal.search.web","vulnerableRanges":["<6.0.45"],"patched":["6.0.45"],"from":["GHSA-7f7g-vhff-mjqj"],"provenance":"source"},{"ecosystem":"Maven","package":"com.liferay.portal:release.dxp.bom","vulnerableRanges":[">=7.2.0, <7.2.10.fp19",">=7.3.0, <7.3.10.u5",">=7.4.0, <7.4.13.u25"],"patched":["7.2.10.fp19","7.3.10.u5","7.4.13.u25"],"from":["GHSA-7f7g-vhff-mjqj"],"provenance":"source"}],"euvd":{"id":"EUVD-2022-45198","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2016-3670","published":"2016-06-13","fixed":"1.0.3","kev":false},{"cve":"CVE-2022-42118","published":"2022-11-15","fixed":"6.0.12","kev":false},{"cve":"CVE-2022-28979","published":"2022-09-21","fixed":"6.0.19","kev":false,"link":{"from":"CVE-2022-28979","to":"CVE-2022-42112","relation":"successor","confidence":"medium","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Maven:com.liferay:com.liferay.portal.search.web","fromFixed":"6.0.19","toFixed":"6.0.45","daysApart":27},{"kind":"similar","provenance":"machine","score":0.34,"basis":"same package + description similarity"}]}},{"cve":"CVE-2022-42112","published":"2022-10-18","fixed":"6.0.45","kev":false},{"cve":"CVE-2025-43781","published":"2025-09-09","fixed":"6.0.143","kev":false}],"package":"Maven:com.liferay:com.liferay.portal.search.web"}}