Moderate severityNVD Advisory· Published Oct 18, 2022· Updated May 10, 2025
CVE-2022-42112
CVE-2022-42112
Description
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
com.liferay:com.liferay.portal.search.webMaven | < 6.0.45 | 6.0.45 |
com.liferay.portal:release.dxp.bomMaven | >= 7.2.0, < 7.2.10.fp19 | 7.2.10.fp19 |
com.liferay.portal:release.dxp.bomMaven | >= 7.3.0, < 7.3.10.u5 | 7.3.10.u5 |
com.liferay.portal:release.dxp.bomMaven | >= 7.4.0, < 7.4.13.u25 | 7.4.13.u25 |
Affected products
3- ghsa-coords2 versions
< 6.0.45+ 1 more
- (no CPE)range: < 6.0.45
- (no CPE)range: >= 7.2.0, < 7.2.10.fp19
Patches
Vulnerability mechanics
Generated on May 9, 2026. Inputs: CWE entries + fix-commit diffs from this CVE's patches. Citations validated against bundle.
References
8- github.com/advisories/GHSA-7f7g-vhff-mjqjghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2022-42112ghsaADVISORY
- liferay.comghsaWEB
- github.com/liferay/liferay-portal/commit/1f6521605152c0f8f82f490300215f08f885fe48ghsaWEB
- liferay.atlassian.net/browse/LPE-17536ghsaWEB
- liferay.dev/portal/security/known-vulnerabilities/-/asset_publisher/jekt/content/cve-2022-42112ghsaWEB
- web.archive.org/web/20220701000000*/https://portal.liferay.dev/learn/security/known-vulnerabilities/-/asset_publisher/HbL5mxmVrnXW/content/cve-2022-42112ghsaWEB
- portal.liferay.dev/learn/security/known-vulnerabilities/-/asset_publisher/HbL5mxmVrnXW/content/cve-2022-42112mitre
News mentions
0No linked articles in our index yet.