CVE-2022-28982 Liferay Portal and Liferay DXP Vulnerable to XSS via Tag Name
Attackers can execute arbitrary web scripts via crafted tag names in Liferay Portal, potentially compromising user sessions.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2022-28982?
CVE-2022-28982 is a medium-severity cross-site scripting vulnerability in Liferay Liferay Portal, published on 21 Sep 2022. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
A cross-site scripting (XSS) vulnerability in Liferay Portal v7.3.3 through v7.4.2 and Liferay DXP v7.3 before service pack 3 allows attackers to execute arbitrary web scripts or HTML via a crafted payload injected into the name of a tag.
Weakness: CWE-79
Which versions are affected by CVE-2022-28982?
2 open source packages ship an affected version, including com.liferay:com.liferay.asset.taglib. It affects 2 products.
| Package | Affected | Fixed in |
|---|---|---|
com.liferay:com.liferay.asset.taglib Maven | All versions | 6.1.9 |
com.liferay:com.liferay.asset.taglib Maven | All versions | 6.1.9 |
Products include Liferay Dxp, Liferay Liferay Portal.
How do I fix CVE-2022-28982?
Upgrade com.liferay:com.liferay.asset.taglib to 6.1.9 or later.
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-28982 being exploited?
There is no known exploitation of CVE-2022-28982 in the wild and no public exploit code.
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-wffm-j7m8-93g4.