CVE-2022-42114: XSS

Published Oct 18, 2022
·
Updated

A Cross-site scripting (XSS) vulnerability in the Role module's edit role assignees page in Liferay Portal 7.4.0 through 7.4.3.36, and Liferay DXP 7.4 before update 37 allows remote attackers to inject arbitrary web script or HTML.

Other sources

A Cross-site scripting (XSS) vulnerability in the Role module's edit role assignees page in Liferay Roles Admin Web before 5.0.48 from Liferay Portal (7.4.0 through 7.4.3.36), and Liferay DXP 7.4 before update 37 allows remote attackers to inject arbitrary web script or HTML.

GitHub

Affected Software

41 affected componentsFixes available
Liferay DXP<7.4
Liferay DXP=7.4-ga1
Liferay DXP=7.4-update_1
Liferay DXP=7.4-update_10
Liferay DXP=7.4-update_11
Liferay DXP=7.4-update_12
Liferay DXP=7.4-update_13
Liferay DXP=7.4-update_14
Liferay DXP=7.4-update_15
Liferay DXP=7.4-update_16
Liferay DXP=7.4-update_17
Liferay DXP=7.4-update_18
Liferay DXP=7.4-update_19
Liferay DXP=7.4-update_2
Liferay DXP=7.4-update_20
Liferay DXP=7.4-update_21
Liferay DXP=7.4-update_22
Liferay DXP=7.4-update_23
Liferay DXP=7.4-update_24
Liferay DXP=7.4-update_25
Liferay DXP=7.4-update_26
Liferay DXP=7.4-update_27
Liferay DXP=7.4-update_28
Liferay DXP=7.4-update_29
Liferay DXP=7.4-update_3
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 DXP=7.4-update_4
Liferay DXP=7.4-update_5
Liferay DXP=7.4-update_6
Liferay DXP=7.4-update_7
Liferay DXP=7.4-update_8
Liferay DXP=7.4-update_9
Liferay Liferay Portal>=7.4.0<7.4.3.37
maven/com.liferay.portal:release.dxp.bom>=7.4.0<7.4.13.u37
7.4.13.u37
maven/com.liferay:com.liferay.roles.admin.web<5.0.48
5.0.48

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.roles.admin.web to a version that resolves this vulnerability.

    Fixed in 5.0.48
  3. Upgrade

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

    Fixed in update 37
  4. Upgrade

    Upgrade Liferay Roles Admin Web to a version that resolves this vulnerability.

    Fixed in 5.0.48

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-42114?

CVE-2022-42114 is a Cross-site scripting (XSS) vulnerability in the Role module's edit role assignees page in Liferay Portal 7.4.0 through 7.4.3.36, and Liferay DXP 7.4 before update 37.

2

How does CVE-2022-42114 affect Liferay DXP?

CVE-2022-42114 affects Liferay DXP versions 7.4.0 through 7.4.3.36 before update 37.

3

What is the severity of CVE-2022-42114?

The severity of CVE-2022-42114 is medium with a CVSS score of 5.4.

4

How can remote attackers exploit CVE-2022-42114?

Remote attackers can exploit CVE-2022-42114 by injecting arbitrary web script or HTML through the Role module's edit role assignees page.

5

Are there any known fixes for CVE-2022-42114?

Yes, the fix for CVE-2022-42114 is to update Liferay Portal or Liferay DXP to version 7.4.3.37 or apply the appropriate security patch.

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