CVE-2022-38901 Cross-site scripting in n/a
Remote attackers can inject arbitrary JavaScript or HTML via SVG file descriptions in Liferay DXP, potentially executing code in user sessions.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2022-38901?
CVE-2022-38901 is a medium-severity cross-site scripting vulnerability in Liferay Liferay Portal, published on 19 Oct 2022. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.
Official 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.
Weakness: CWE-79
Which versions are affected by CVE-2022-38901?
It affects 2 products.
Products include Liferay Dxp, Liferay Liferay Portal.
How do I fix CVE-2022-38901?
No fix has been published for CVE-2022-38901 yet. Limit exposure of the affected software until one is available.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2022-38901 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-38901 exists.
Other vulnerabilities in Liferay Liferay Portal
- CVE-2022-42120 Liferay Portal and Liferay DXP Vulnerable to SQL Injection via the Fragment Module
- CVE-2022-42122 Liferay Portal and Liferay DXP Vulnerable to SQL Injection via Friendly URL Module
- CVE-2023-35030 Liferay Portal and Liferay DXP Vulnerable to CSRF via the Layout Module
- CVE-2021-29053 Liferay Portal and Liferay DXP Vulnerable to Multiple SQL Injections
- CVE-2021-33321 Liferay Portal and Liferay DXP insecure default configuration
Sources
Also known as GHSA-pq9f-jx2p-2xwc.