CVE-2021-38263: XSS

Published Mar 2, 2022
·
Updated

Cross-site scripting (XSS) vulnerability in the Server module's script console in Liferay Portal 7.3.2 and earlier, and Liferay DXP 7.0 before fix pack 101, 7.1 before fix pack 20 and 7.2 before fix pack 10 allows remote attackers to inject arbitrary web script or HTML via the output of a script.

Other sources

Liferay Server Admin Web before 4.0.12 from Liferay Portal v7.3.2 and below and Liferay DXP v7.0 and below were discovered to contain a cross-site scripting (XSS) vulnerability via the script console under the Server module.

GitHub

Affected Software

134 affected componentsFixes available
Liferay Liferay Portal<=7.3.2
Liferay Digital Experience Platform=7.0
Liferay Digital Experience Platform=7.0-fix_pack_1
Liferay Digital Experience Platform=7.0-fix_pack_10
Liferay Digital Experience Platform=7.0-fix_pack_100
Liferay Digital Experience Platform=7.0-fix_pack_11
Liferay Digital Experience Platform=7.0-fix_pack_12
Liferay Digital Experience Platform=7.0-fix_pack_13
Liferay Digital Experience Platform=7.0-fix_pack_14
Liferay Digital Experience Platform=7.0-fix_pack_15
Liferay Digital Experience Platform=7.0-fix_pack_16
Liferay Digital Experience Platform=7.0-fix_pack_17
Liferay Digital Experience Platform=7.0-fix_pack_18
Liferay Digital Experience Platform=7.0-fix_pack_19
Liferay Digital Experience Platform=7.0-fix_pack_2
Liferay Digital Experience Platform=7.0-fix_pack_20
Liferay Digital Experience Platform=7.0-fix_pack_21
Liferay Digital Experience Platform=7.0-fix_pack_22
Liferay Digital Experience Platform=7.0-fix_pack_23
Liferay Digital Experience Platform=7.0-fix_pack_24
Liferay Digital Experience Platform=7.0-fix_pack_25
Liferay Digital Experience Platform=7.0-fix_pack_26
Liferay Digital Experience Platform=7.0-fix_pack_27
Liferay Digital Experience Platform=7.0-fix_pack_28
Liferay Digital Experience Platform=7.0-fix_pack_29
Liferay Digital Experience Platform=7.0-fix_pack_3
Liferay Digital Experience Platform=7.0-fix_pack_30
Liferay Digital Experience Platform=7.0-fix_pack_31
Liferay Digital Experience Platform=7.0-fix_pack_32
Liferay Digital Experience Platform=7.0-fix_pack_33
Liferay Digital Experience Platform=7.0-fix_pack_34
Liferay Digital Experience Platform=7.0-fix_pack_35
Liferay Digital Experience Platform=7.0-fix_pack_36
Liferay Digital Experience Platform=7.0-fix_pack_37
Liferay Digital Experience Platform=7.0-fix_pack_38
Liferay Digital Experience Platform=7.0-fix_pack_39
Liferay Digital Experience Platform=7.0-fix_pack_4
Liferay Digital Experience Platform=7.0-fix_pack_40
Liferay Digital Experience Platform=7.0-fix_pack_41
Liferay Digital Experience Platform=7.0-fix_pack_42
Liferay Digital Experience Platform=7.0-fix_pack_43
Liferay Digital Experience Platform=7.0-fix_pack_44
Liferay Digital Experience Platform=7.0-fix_pack_45
Liferay Digital Experience Platform=7.0-fix_pack_46
Liferay Digital Experience Platform=7.0-fix_pack_47
Liferay Digital Experience Platform=7.0-fix_pack_48
Liferay Digital Experience Platform=7.0-fix_pack_49
Liferay Digital Experience Platform=7.0-fix_pack_5
Liferay Digital Experience Platform=7.0-fix_pack_50
Liferay Digital Experience Platform=7.0-fix_pack_51
Liferay Digital Experience Platform=7.0-fix_pack_52
Liferay Digital Experience Platform=7.0-fix_pack_53
Liferay Digital Experience Platform=7.0-fix_pack_54
Liferay Digital Experience Platform=7.0-fix_pack_55
Liferay Digital Experience Platform=7.0-fix_pack_56
Liferay Digital Experience Platform=7.0-fix_pack_57
Liferay Digital Experience Platform=7.0-fix_pack_58
Liferay Digital Experience Platform=7.0-fix_pack_59
Liferay Digital Experience Platform=7.0-fix_pack_6
Liferay Digital Experience Platform=7.0-fix_pack_60
Liferay Digital Experience Platform=7.0-fix_pack_61
Liferay Digital Experience Platform=7.0-fix_pack_62
Liferay Digital Experience Platform=7.0-fix_pack_63
Liferay Digital Experience Platform=7.0-fix_pack_64
Liferay Digital Experience Platform=7.0-fix_pack_65
Liferay Digital Experience Platform=7.0-fix_pack_66
Liferay Digital Experience Platform=7.0-fix_pack_67
Liferay Digital Experience Platform=7.0-fix_pack_68
Liferay Digital Experience Platform=7.0-fix_pack_69
Liferay Digital Experience Platform=7.0-fix_pack_7
Liferay Digital Experience Platform=7.0-fix_pack_70
Liferay Digital Experience Platform=7.0-fix_pack_71
Liferay Digital Experience Platform=7.0-fix_pack_72
Liferay Digital Experience Platform=7.0-fix_pack_73
Liferay Digital Experience Platform=7.0-fix_pack_74
Liferay Digital Experience Platform=7.0-fix_pack_75
Liferay Digital Experience Platform=7.0-fix_pack_76
Liferay Digital Experience Platform=7.0-fix_pack_77
Liferay Digital Experience Platform=7.0-fix_pack_78
Liferay Digital Experience Platform=7.0-fix_pack_79
Liferay Digital Experience Platform=7.0-fix_pack_8
Liferay Digital Experience Platform=7.0-fix_pack_80
Liferay Digital Experience Platform=7.0-fix_pack_81
Liferay Digital Experience Platform=7.0-fix_pack_82
Liferay Digital Experience Platform=7.0-fix_pack_83
Liferay Digital Experience Platform=7.0-fix_pack_84
Liferay Digital Experience Platform=7.0-fix_pack_85
Liferay Digital Experience Platform=7.0-fix_pack_86
Liferay Digital Experience Platform=7.0-fix_pack_87
Liferay Digital Experience Platform=7.0-fix_pack_88
Liferay Digital Experience Platform=7.0-fix_pack_89
Liferay Digital Experience Platform=7.0-fix_pack_9
Liferay Digital Experience Platform=7.0-fix_pack_90
Liferay Digital Experience Platform=7.0-fix_pack_91
Liferay Digital Experience Platform=7.0-fix_pack_92
Liferay Digital Experience Platform=7.0-fix_pack_93
Liferay Digital Experience Platform=7.0-fix_pack_94
Liferay Digital Experience Platform=7.0-fix_pack_95
Liferay Digital Experience Platform=7.0-fix_pack_96
Liferay Digital Experience Platform=7.0-fix_pack_97
Liferay Digital Experience Platform=7.0-fix_pack_98
Liferay Digital Experience Platform=7.0-fix_pack_99
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_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_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.0
maven/com.liferay:com.liferay.server.admin.web<4.0.12
4.0.12

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade maven/com.liferay:com.liferay.server.admin.web to a version that resolves this vulnerability.

    Fixed in 4.0.12
  2. Upgrade

    Upgrade Liferay Portal to a version that resolves this vulnerability.

    Fixed in 7.3.2
  3. Upgrade

    Upgrade Liferay DXP 7.0 to a version that resolves this vulnerability.

    Patch fix pack 101
  4. Upgrade

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

    Patch fix pack 20
  5. Upgrade

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

    Patch fix pack 10
  6. Upgrade

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

    Fixed in 4.0.12
  7. Compensating control

    Restrict access to the Server module script console / script execution functionality to trusted users (e.g., via application role/permission settings) until the fix pack upgrade is applied.

Event History

Mar 2, 2022
CVE Published
via MITRE·11:10 PM
Data Sourced
via MITRE·11:10 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-38263?

CVE-2021-38263 is considered a medium severity vulnerability due to its potential for cross-site scripting attacks.

2

How do I fix CVE-2021-38263?

To fix CVE-2021-38263, update to Liferay Portal 7.4 or apply the relevant fix packs for Liferay DXP 7.0, 7.1, or 7.2 depending on your version.

3

What types of systems are affected by CVE-2021-38263?

CVE-2021-38263 affects Liferay Portal versions 7.3.2 and earlier, and Liferay DXP versions 7.0 before fix pack 101, 7.1 before fix pack 20, and 7.2 before fix pack 10.

4

What does CVE-2021-38263 allow an attacker to do?

CVE-2021-38263 allows remote attackers to inject arbitrary web scripts or HTML via the output of a script due to a cross-site scripting vulnerability.

5

Is there a workaround for CVE-2021-38263?

There are no officially recommended workarounds for CVE-2021-38263; the best mitigation is to apply the security updates as stated.

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