CVE-2022-42113: XSS

Published Oct 18, 2022
·
Updated

A Cross-site scripting (XSS) vulnerability in Document Library module before 6.0.98 from 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.

Other sources

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.

Affected Software

10 affected componentsFixes available
Liferay DXP=7.4-update_30
Liferay DXP=7.4-update_31
Liferay DXP=7.4-update_32
Liferay DXP=7.4-update_33
Liferay DXP=7.4-update_34
Liferay DXP=7.4-update_35
Liferay DXP=7.4-update_36
Liferay Liferay Portal>=7.4.3.30<7.4.3.37
maven/com.liferay.portal:release.dxp.bom>=7.4.13.u30<=7.4.13.u36
7.4.13.u37
maven/com.liferay:com.liferay.document.library.web<6.0.98
6.0.98

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade maven/com.liferay.portal:release.dxp.bom to a version that resolves this vulnerability.

    Fixed in 7.4.13.u37
  2. Upgrade

    Upgrade maven/com.liferay:com.liferay.document.library.web to a version that resolves this vulnerability.

    Fixed in 6.0.98
  3. Upgrade

    Upgrade Liferay Portal (Document Library module) / Liferay DXP 7.4 to a version that resolves this vulnerability.

    Fixed in 6.0.98
  4. Configuration

    Ensure the `redirect` parameter is not reflected without proper validation/encoding; block or sanitize attempts to inject arbitrary web script or HTML through the `redirect` parameter.

    Document Library module (Liferay Portal/Liferay DXP 7.4) redirect parameter handling = disallow/validate user-controlled redirect to prevent injection of arbitrary web script or HTML

Event History

Oct 18, 2022
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
Description
Data Sourced
via NVD·09:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
Oct 19, 2022
Advisory Published
via GitHub·12:00 PM
Data Sourced
via GitHub·12:00 PM
DescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is CVE-2022-42113?

CVE-2022-42113 is a Cross-site scripting (XSS) vulnerability in the 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.

2

What is the severity of CVE-2022-42113?

The severity of CVE-2022-42113 is medium with a score of 6.1.

3

Which software versions are affected by CVE-2022-42113?

Liferay Portal versions 7.4.3.30 through 7.4.3.36 and Liferay DXP versions 7.4 update 30 through update 36 are affected by CVE-2022-42113.

4

How can CVE-2022-42113 be exploited?

CVE-2022-42113 can be exploited by remote attackers injecting arbitrary web script or HTML via the `redirect` parameter in the Document Library module.

5

Is there a fix available for CVE-2022-42113?

Yes, the vulnerability has been fixed in Liferay Portal versions 7.4.3.37 and above, and Liferay DXP versions 7.4 update 37 and above.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203