CVE-2021-38263 json
Liferay Portal and Liferay DXP cross-site scripting (XSS) vulnerability via the script console
published 2022-03-02 4 y ago modified 2026-07-09 4 mo ago also BIT-liferay-2021-38263 , EUVD-2021-24721 , GHSA-ffmm-5ww2-g3q4
- cvss
- 6.1
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.9%
- EPSS 0.9% chance of exploitation in 30 days, percentile 59%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- maven com.liferay:com.liferay.server.admin.web 4.0.12
Exploit prediction
0.88% chance of exploitation in the next 30 days, higher than 59% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| GitHub | 3.1 | 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| NVD | 3.1 | 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| NVD | 2.0 | 4.3 | AV:N/AC:M/Au:N/C:N/I:P/A:N |
| OSV | 3.1 | 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| maven | com.liferay:com.liferay.server.admin.web | <4.0.12 |
4.0.12 |
| maven | com.liferay.portal:release.dxp.bom | <=7.0 |
no fix listed |
| bitnami | liferay | >=7.0.0, <=7.0.0 >=7.1.0, <=7.1.0 >=7.2.0, <=7.2.0 >=7.0-fix.0, <=7.0-fix.0 >=7.1-fix.0, <=7.1-fix.0 >=7.2-fix.0, <=7.2-fix.0 |
no fix listed |
Classification
- Weakness
-
- CWE-79 Improper Neutralization of Input During Web Page Generation
References
-
portal.liferay.dev
/learn/security/known-vulnerabilities/-/asset_publisher/HbL5mxmVrnXW/content/cve-2021-38263-reflected-xss-with
patch, vendor-advisory, web
-
github.com
/liferay/liferay-portal/commit/1abb1bfc96242065f97c2828a02350ea2174f5f6
web
-
github.com
/liferay/liferay-portal/commit/771d99805b7ca69fecfcf67be5e24f2c1af1d0bb
web
-
issues.liferay.com
/browse/LPE-17061
web, issue-tracking, vendor-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2021-38263
advisory
-
github.com
/liferay/liferay-portal
package
-
liferay.dev
/portal/security/known-vulnerabilities/-/asset_publisher/jekt/content/cve-2021-38263-reflected-xss-with-script
web
-
liferay.com
web
Sources
- CVE List CVE-2021-38263
- GitHub Advisory GHSA-ffmm-5ww2-g3q4
- NVD CVE-2021-38263
- OSV BIT-liferay-2021-38263
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.