CVE-2021-38269: XSS

Published Mar 2, 2022
·
Updated

Cross-site scripting (XSS) vulnerability in the Gogo Shell module before 5.0.2 from Liferay Portal 7.1.0 through 7.3.6 and 7.4.0, and Liferay DXP 7.1 before fix pack 23, 7.2 before fix pack 13, and 7.3 before fix pack 2 allows remote attackers to inject arbitrary web script or HTML via the output of a Gogo Shell command.

Other sources

Cross-site scripting (XSS) vulnerability in the Gogo Shell module in Liferay Portal 7.1.0 through 7.3.6 and 7.4.0, and Liferay DXP 7.1 before fix pack 23, 7.2 before fix pack 13, and 7.3 before fix pack 2 allows remote attackers to inject arbitrary web script or HTML via the output of a Gogo Shell command.

MITRE

Affected Software

45 affected componentsFixes available
Liferay Liferay Portal>=7.1.0<=7.3.6
Liferay Liferay Portal=7.4.0
Liferay Digital Experience Platform=7.1
Liferay Digital Experience Platform=7.1-fix_pack_1
Liferay Digital Experience Platform=7.1-fix_pack_10
Liferay Digital Experience Platform=7.1-fix_pack_11
Liferay Digital Experience Platform=7.1-fix_pack_12
Liferay Digital Experience Platform=7.1-fix_pack_13
Liferay Digital Experience Platform=7.1-fix_pack_14
Liferay Digital Experience Platform=7.1-fix_pack_15
Liferay Digital Experience Platform=7.1-fix_pack_16
Liferay Digital Experience Platform=7.1-fix_pack_17
Liferay Digital Experience Platform=7.1-fix_pack_18
Liferay Digital Experience Platform=7.1-fix_pack_19
Liferay Digital Experience Platform=7.1-fix_pack_2
Liferay Digital Experience Platform=7.1-fix_pack_20
Liferay Digital Experience Platform=7.1-fix_pack_21
Liferay Digital Experience Platform=7.1-fix_pack_22
Liferay Digital Experience Platform=7.1-fix_pack_23
Liferay Digital Experience Platform=7.1-fix_pack_3
Liferay Digital Experience Platform=7.1-fix_pack_4
Liferay Digital Experience Platform=7.1-fix_pack_5
Liferay Digital Experience Platform=7.1-fix_pack_6
Liferay Digital Experience Platform=7.1-fix_pack_7
Liferay Digital Experience Platform=7.1-fix_pack_8
Liferay Digital Experience Platform=7.1-fix_pack_9
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_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
Liferay Digital Experience Platform=7.3
Liferay Digital Experience Platform=7.3-fix_pack_1
maven/com.liferay.portal:release.dxp.bom>=7.3.0<7.3.10.fp2
7.3.10.fp2
maven/com.liferay.portal:release.dxp.bom>=7.2.0<7.2.10.fp13
7.2.10.fp13
maven/com.liferay.portal:release.dxp.bom>=7.1.0<7.1.10.fp23
7.1.10.fp23
maven/com.liferay:com.liferay.gogo.shell.web<5.0.2
5.0.2

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.3.10.fp2
  2. Upgrade

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

    Fixed in 7.2.10.fp13
  3. Upgrade

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

    Fixed in 7.1.10.fp23
  4. Upgrade

    Upgrade maven/com.liferay:com.liferay.gogo.shell.web to a version that resolves this vulnerability.

    Fixed in 5.0.2
  5. Upgrade

    Upgrade Liferay Portal/Gogo Shell module to a version that resolves this vulnerability.

    Fixed in 5.0.2
  6. Upgrade

    Upgrade Liferay Portal 7.1 to a version that resolves this vulnerability.

    Patch fix pack 23
  7. Upgrade

    Upgrade Liferay Portal 7.2 to a version that resolves this vulnerability.

    Patch fix pack 13
  8. Upgrade

    Upgrade Liferay Portal 7.3 to a version that resolves this vulnerability.

    Patch fix pack 2

Event History

Mar 2, 2022
CVE Published
via MITRE·11:25 PM
Data Sourced
via MITRE·11:25 PM
Description
Mar 3, 2022
Data Sourced
via NVD·12:15 AM
RemedyDescriptionSeverityWeaknessAffected Software
Mar 4, 2022
Advisory Published
via GitHub·12:00 AM
Data Sourced
via GitHub·12:00 AM
DescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2021-38269?

The severity of CVE-2021-38269 is medium with a severity value of 5.4.

2

How does CVE-2021-38269 affect Liferay Portal and Liferay DXP?

CVE-2021-38269 affects Liferay Portal versions 7.1.0 through 7.3.6 and Liferay DXP versions 7.1 before fix pack 23, 7.2 before fix pack 13, and 7.3 before fix pack 2.

3

How can remote attackers exploit CVE-2021-38269?

Remote attackers can inject arbitrary web script or HTML via the output of a Gogo Shell command.

4

What is the Common Weakness Enumeration (CWE) ID for CVE-2021-38269?

The CWE ID for CVE-2021-38269 is 79.

5

How can I fix CVE-2021-38269?

To fix CVE-2021-38269, update to the latest version of Liferay Portal (7.3.6 or higher) or Liferay DXP (7.1 fix pack 23 or higher, 7.2 fix pack 13 or higher, 7.3 fix pack 2 or higher).

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