CVE-2022-38902 Cross-site scripting in n/a
Remote attackers can inject arbitrary JavaScript or HTML into the name field of new blog topics in Liferay DXP.
- 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-38902?
CVE-2022-38902 is a medium-severity cross-site scripting vulnerability in Liferay Liferay Portal, published on 13 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 Blog module - add new topic functionality in Liferay Digital Experience Platform 7.3.10 SP3 allows remote attackers to inject arbitrary JS script or HTML into the name field of newly created topic.
Weakness: CWE-79
Which versions are affected by CVE-2022-38902?
It affects 2 products.
Products include Liferay Dxp, Liferay Liferay Portal.
How do I fix CVE-2022-38902?
No fix has been published for CVE-2022-38902 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-38902 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-38902 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-gw4h-jpvh-jq27.