CVE-2022-42112: XSS

Published Oct 18, 2022
·
Updated

A Cross-site scripting (XSS) vulnerability in the Portal Search module's Sort widget before 6.0.45 from 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.

Other sources

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.

Affected Software

74 affected componentsFixes available
Liferay DXP<7.2
Liferay DXP=7.2
Liferay DXP=7.2-fix_pack_1
Liferay DXP=7.2-fix_pack_10
Liferay DXP=7.2-fix_pack_11
Liferay DXP=7.2-fix_pack_12
Liferay DXP=7.2-fix_pack_13
Liferay DXP=7.2-fix_pack_14
Liferay DXP=7.2-fix_pack_15
Liferay DXP=7.2-fix_pack_18
Liferay DXP=7.2-fix_pack_2
Liferay DXP=7.2-fix_pack_3
Liferay DXP=7.2-fix_pack_4
Liferay DXP=7.2-fix_pack_5
Liferay DXP=7.2-fix_pack_6
Liferay DXP=7.2-fix_pack_7
Liferay DXP=7.2-fix_pack_8
Liferay DXP=7.2-fix_pack_9
Liferay DXP=7.3
Liferay DXP=7.3-sp1
Liferay DXP=7.3-sp2
Liferay DXP=7.3-sp3
Liferay DXP=7.3-update_1
Liferay DXP=7.3-update_2
Liferay DXP=7.3-update_3
Liferay DXP=7.3-update_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_3
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.2.0<7.4.3.25
Liferay Digital Experience Platform<7.2
Liferay Digital Experience Platform=7.2
Liferay Digital Experience Platform=7.2-fix_pack_1
Liferay Digital Experience Platform=7.2-fix_pack_10
Liferay Digital Experience Platform=7.2-fix_pack_11
Liferay Digital Experience Platform=7.2-fix_pack_12
Liferay Digital Experience Platform=7.2-fix_pack_13
Liferay Digital Experience Platform=7.2-fix_pack_14
Liferay Digital Experience Platform=7.2-fix_pack_15
Liferay Digital Experience Platform=7.2-fix_pack_18
Liferay Digital Experience Platform=7.2-fix_pack_2
Liferay Digital Experience Platform=7.2-fix_pack_3
Liferay Digital Experience Platform=7.2-fix_pack_4
Liferay Digital Experience Platform=7.2-fix_pack_5
Liferay Digital Experience Platform=7.2-fix_pack_6
Liferay Digital Experience Platform=7.2-fix_pack_7
Liferay Digital Experience Platform=7.2-fix_pack_8
Liferay Digital Experience Platform=7.2-fix_pack_9
maven/com.liferay.portal:release.dxp.bom>=7.4.0<7.4.13.u25
7.4.13.u25
maven/com.liferay.portal:release.dxp.bom>=7.3.0<7.3.10.u5
7.3.10.u5
maven/com.liferay.portal:release.dxp.bom>=7.2.0<7.2.10.fp19
7.2.10.fp19
maven/com.liferay:com.liferay.portal.search.web<6.0.45
6.0.45

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.u25
  2. Upgrade

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

    Fixed in 7.3.10.u5
  3. Upgrade

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

    Fixed in 7.2.10.fp19
  4. Upgrade

    Upgrade maven/com.liferay:com.liferay.portal.search.web to a version that resolves this vulnerability.

    Fixed in 6.0.45
  5. Upgrade

    Upgrade Liferay Portal (Portal Search module - Sort widget) to a version that resolves this vulnerability.

    Fixed in 6.0.45
  6. Upgrade

    Upgrade Liferay Portal 7.2 - Liferay Portal Search module (Sort widget) to a version that resolves this vulnerability.

    Patch fix pack 19
  7. Upgrade

    Upgrade Liferay Portal 7.3 - Liferay Portal Search module (Sort widget) to a version that resolves this vulnerability.

    Patch update 5
  8. Upgrade

    Upgrade Liferay Portal 7.4 - Liferay Portal Search module (Sort widget) to a version that resolves this vulnerability.

    Patch update 25

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

CVE-2022-42112 is a Cross-site scripting (XSS) vulnerability in the Portal Search module's Sort widget in Liferay Portal and Liferay DXP.

2

How does CVE-2022-42112 impact Liferay Portal and Liferay DXP?

CVE-2022-42112 allows remote attackers to inject arbitrary web script or HTML via a crafted payload, potentially leading to cross-site scripting attacks.

3

Which versions of Liferay Portal and Liferay DXP are affected by CVE-2022-42112?

Liferay Portal 7.2.0 through 7.4.3.24, Liferay DXP 7.2 before fix pack 19, 7.3 before update 5, and DXP 7.4 before update 25 are affected by CVE-2022-42112.

4

How severe is CVE-2022-42112?

CVE-2022-42112 has a severity rating of 5.4, which is considered medium.

5

Where can I find more information about CVE-2022-42112?

You can find more information about CVE-2022-42112 on the Liferay website and the Liferay DXP security vulnerabilities page.

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