{"cve":"CVE-2022-42113","nvd":{"published":"2022-10-18T21:15:16.247","modified":"2026-07-09T01:17:46.500","status":"Modified","description":"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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1},"cwes":["CWE-79"],"references":["https://portal.liferay.dev/learn/security/known-vulnerabilities/-/asset_publisher/HbL5mxmVrnXW/content/cve-2022-42113","https://portal.liferay.dev/learn/security/known-vulnerabilities/-/asset_publisher/HbL5mxmVrnXW/content/cve-2022-42113"],"products":["liferay:dxp","liferay:liferay_portal"],"source":"nvd","synced_at":"2026-10-19T21:37:08.729216836+00:00"},"epss":{"cve":"CVE-2022-42113","score":0.00613,"percentile":0.49372,"date":"2026-11-01"},"kev":null,"osv":[{"id":"GHSA-r32w-v775-5952","url":"https://osv.dev/vulnerability/GHSA-r32w-v775-5952","summary":"Liferay Portal and Liferay DXP Vulnerable to XSS via the Document Library Module","modified":"2025-07-16T18:59:40.387302Z","packages":[{"ecosystem":"Maven","name":"com.liferay:com.liferay.document.library.web","purl":"pkg:maven/com.liferay/com.liferay.document.library.web","ranges":["<6.0.98"],"fixed":["6.0.98"]},{"ecosystem":"Maven","name":"com.liferay.portal:release.dxp.bom","purl":"pkg:maven/com.liferay.portal/release.dxp.bom","ranges":[">=7.4.13.u30 <7.4.13.u37"],"fixed":["7.4.13.u37"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}