CVE-2022-42113 json
Liferay Portal and Liferay DXP Vulnerable to XSS via the Document Library Module
published 4y ago modified 4mo ago also GHSA-r32w-v775-5952 , EUVD-2022-45199
- cvss
- 6.1
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.6%
- EPSS 0.6% chance of exploitation in 30 days, percentile 49%
- public exploits
- 0
- none known
Summary
A Cross-site scripting (XSS) vulnerability in Document Library module in Liferay Portal 7.4.3.30 through 7.4.3.36, and Liferay DXP 7.4 update 30 through update 36 allows remote attackers to inject arbitrary web script or HTML via the `redirect` parameter.
Patch / fix
- maven com.liferay:com.liferay.document.library.web 6.0.98
- maven com.liferay.portal:release.dxp.bom 7.4.13.u37
- liferay liferay_portal 7.4.3.37
Is CVE-2022-42113 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerCISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- last yr.
Exploit prediction
0.62% chance of exploitation in the next 30 days, higher than 49% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CISA ADP | 3.1 | 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| NVD | 3.1 | 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| CNA | 3.1 | 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| GitHub | 3.1 | 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| maven | com.liferay:com.liferay.document.library.web | <6.0.98 |
6.0.98 |
| maven | com.liferay.portal:release.dxp.bom | >=7.4.13.u30, <7.4.13.u37 |
7.4.13.u37 |
Classification
- Weakness
-
- CWE-79 Improper Neutralization of Input During Web Page Generation
References
-
portal.liferay.dev
/learn/security/known-vulnerabilities/-/asset_publisher/HbL5mxmVrnXW/content/cve-2022-42113
patch, vendor-advisory
-
github.com
/liferay/liferay-portal/commit/2e4d17dfe42bb3b12c96527943087cf7e4a7d57e
web
-
github.com
/liferay/liferay-portal/commit/62797d3ada6545b12fbfb86dbb229ac9d491d2c2
web
-
nvd.nist.gov
/vuln/detail/CVE-2022-42113
advisory
-
github.com
/liferay/liferay-portal
package
-
liferay.atlassian.net
/browse/LPE-17615
web
-
liferay.dev
/portal/security/known-vulnerabilities/-/asset_publisher/jekt/content/cve-2022-42113?p_r_p_assetEntryId=121613
web
-
web.archive.org
/web/20221019040338/https://portal.liferay.dev/learn/security/known-vulnerabilities/-/asset_publisher/HbL5mxmV
web
-
liferay.com
web
Sources
- CVE List CVE-2022-42113
- GitHub Advisory GHSA-r32w-v775-5952
- NVD CVE-2022-42113
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.