CVE-2022-38901: Liferay Digital Experience Platform - Stored XSS
- Cve: CVE-2022-38901
- Name: Liferay Digital Experience Platform - Stored XSS
- Description: A Cross-site scripting (XSS) vulnerability in the Document and Media module - file upload functionality in Liferay Digital Experience Platform 7.3.10 SP3 allows remote attackers to inject arbitrary JS script or HTML into the description field of uploaded svg file.
- Impact: Attackers can execute arbitrary scripts in the context of the victim's browser, leading to session hijacking or defacement.
- Remediation: Update to the latest version of Liferay DXP or apply security patches addressing the XSS vulnerability.
- Vulnerability type: stored_xss
- Vulnerability impact: client_script_exec
- Requirement type: user_interaction
- Requirements: Attacker needs victim to upload a malicious SVG file
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 5.4
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
- Epss score: 0.00679
- Epss percentile: 0.53304
- Assignee: [email protected]
- Published at: 2022-10-19T02:15:09Z
- Age in days: 1497
- Modified at: 2026-07-09T01:17:42Z
- Patch available: yes
- Public exploits total: 1
- References total: 2
- Products total: 2
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2022-38901
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, oss, projects total, projects, rejected by nvd
- Not known: hackerone
Cwe
| Id | Name |
|---|---|
| CWE-79 | Improper Neutralization of Input During Web Page Generation |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://www.offensity.com/en/blog/authenticated-persistent-xss-in-liferay-dxp-cms-cve-2022-38901-and-cve-2022-38902/ | nvd | 2022-10-19 |
References
| Url | Source | Tags |
|---|---|---|
| https://www.offensity.com/en/blog/authenticated-persistent-xss-in-liferay-dxp-cms-cve-2022-38901-and-cve-2022-38902/ | nvd | Exploit, Third Party Advisory |
| https://drive.proton.me/urls/D27RQ14NGW#b71d8XrBl2Mu | nvd | Third Party Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| liferay:liferay_portal | >= 7.3.5, <= 7.4.3.28 | no | nvd | /v1/products/liferay/liferay_portal |
| liferay:dxp | = 7.4 update_28; = 7.4 update_27; = 7.4 update_26; = 7.4 update_25; = 7.4 update_24; = 7.4 update_23; = 7.4 update_22; = 7.4 update_21; = 7.4 update_20; = 7.4 update_19; = 7.4 update_18; = 7.4 update_17; = 7.4 update_16; = 7.4 update_15; = 7.4 update_14; = 7.4 update_13; = 7.4 update_12; = 7.4 update_11; = 7.4 update_10; = 7.4 update_9; = 7.4 update_8; = 7.4 update_1; = 7.4 update_2; = 7.4 update_3; = 7.4 update_4; = 7.4 update_5; = 7.4 update_6; = 7.4 update_7; = 7.3; = 7.3 update_1; = 7.3 update_2; = 7.3 update_3; = 7.3 update_4; = 7.3 update_5; >= 7.0, < 7.3 | no | nvd | /v1/products/liferay/dxp |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2022-10-19
- Remote: yes
- Authentication required: yes
- Exposed hosts: 2947
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports