Your RSA-2048 keys break in 2030. Find every one of them before attackers do.
☕
☕ Maven
Not in CISA KEV
MEDIUM severity

CVE-2021-38269 — com.liferay.gogo.shell.web

MEDIUMFix: liferay/liferay-portal@0b28a0d

CVE-2021-38269 is a medium-severity (CVSS 5.4) Cross-site Scripting (XSS) vulnerability in com.liferay:com.liferay.gogo.shell.web. A fix is available for com.liferay:com.liferay.gogo.shell.web — see the affected versions and patch details below.

Liferay Portal and Liferay DXP vulnerable to cross-site scripting (XSS) in the Gogo Shell module

Also known asBIT-liferay-2021-38269GHSA-vw6g-gh6c-8qwp
Published
Updated
Affected
4 pkgs
Patched
4 / 4
Exploits
None indexed
Exploitation data as of Oct 3, 2026 · OSV.dev, NVD, FIRST.org (EPSS)

EPSS Exploitation Probability

via FIRST.org ↗
0.6%probability of exploitation in next 30 days
Lower Risk0.00%
Lower risk than most CVEs46th percentile — riskier than 46% of all scored CVEsHighest risk
0.00%0.36%0.72%1.08%0.2%0.6%Apr 26Sep 26Oct 26

Probability of exploitation in the next 30 days, from FIRST.org EPSS.

How urgent is this, really

CVE-2021-38269 by exploitation likelihood (EPSS) against impact (CVSS). Outside the shaded patch-first corner.

Where this sits among everything scored

Of 385,738 CVEs with a current EPSS score, this one falls in the < 10% band (highlighted). Counts from FIRST.org, log-scaled.

Real-World Exposure

4 pkgs affected
☕com.liferay:com.liferay.gogo.shell.web☕com.liferay.portal:release.dxp.bom☕com.liferay.portal:release.dxp.bom☕com.liferay.portal:release.dxp.bom

Real-time download stats are indexed for npm and PyPI packages. This vulnerability affects Maven packages — download data is not available via public APIs for these ecosystems.

Description

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.

Affected Packages

4 total 4 fixed
EcosystemPackageVulnerable rangeFix
☕Mavencom.liferay:com.liferay.gogo.shell.weball versions5.0.2com.liferay:com.liferay.gogo.shell.web:5.0.2
☕Mavencom.liferay.portal:release.dxp.bom≥ 7.1.0&&< 7.1.10.fp237.1.10.fp23com.liferay.portal:release.dxp.bom:7.1.10.fp23
☕Mavencom.liferay.portal:release.dxp.bom≥ 7.2.0&&< 7.2.10.fp137.2.10.fp13com.liferay.portal:release.dxp.bom:7.2.10.fp13
☕Mavencom.liferay.portal:release.dxp.bom≥ 7.3.0&&< 7.3.10.fp27.3.10.fp2com.liferay.portal:release.dxp.bom:7.3.10.fp2

Affected Products

2 products · 41 configurations
Application
digital experience platformliferay
3 versions
7.17.27.3
Application
liferay portalliferay
≥ 7.1.0 && ≤ 7.3.6
1 version
7.4.0

Detection & mitigation playbook

Open-source dependency
  1. Detect

    Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for com.liferay:com.liferay.gogo.shell.web, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.

  2. Fix

    Update com.liferay:com.liferay.gogo.shell.web to 5.0.2 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2021-38269 is resolved across your whole dependency graph.

  3. Workarounds

    Escape or sanitise the affected output on the server side rather than relying on client-side filtering, and add a Content-Security-Policy that blocks inline script execution so injected markup cannot run even if it reaches the page.

Frequently Asked Questions

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.
O3 Security · Impact-Aware SCA

Is CVE-2021-38269 in your dependencies?

Find it across Maven, including transitive dependencies.

CVE-2021-38269: com.liferay.gogo.shell — Fixed in 5.0.2