CVE-2021-35463 Liferay Portal cross-site scripting (XSS) vulnerability in the Frontend Taglib module
Remote attackers can inject arbitrary web script or HTML into the management toolbar search via the keywords parameter in Liferay Portal.
- 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-2021-35463?
CVE-2021-35463 is a medium-severity cross-site scripting vulnerability in Liferay Liferay Portal, published on 4 Aug 2021. 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
Cross-site scripting (XSS) vulnerability in the Frontend Taglib module in Liferay Portal 7.4.0 allows remote attackers to inject arbitrary web script or HTML into the management toolbar search via the `keywords` parameter.
Weakness: CWE-79
Which versions are affected by CVE-2021-35463?
4 open source packages ship an affected version, including com.liferay.portal:release.portal.bom and com.liferay:com.liferay.frontend.taglib.clay. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
com.liferay.portal:release.portal.bom Maven | From 7.4.0 | 7.4.1 |
com.liferay.portal:release.portal.bom Maven | From 7.4.0 | 7.4.1 |
com.liferay:com.liferay.frontend.taglib.clay Maven | All versions | 7.1.15 |
com.liferay:com.liferay.frontend.taglib.clay Maven | All versions | 7.1.15 |
Products include Liferay Liferay Portal.
How do I fix CVE-2021-35463?
Upgrade com.liferay.portal:release.portal.bom to 7.4.1 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-2021-35463 being exploited?
There is no known exploitation of CVE-2021-35463 in the wild and no public exploit code.
Other vulnerabilities in Liferay Liferay Portal
- CVE-2020-7961 Liferay Portal Deserialization of Untrusted Data
- CVE-2021-33990 File upload in n/a
- CVE-2019-16891 Liferay Portal Allows RCE via Deserialization of a JSON Payload
- CVE-2023-47797 Liferay Portal XSS with `p_l_back_url_title` on edit content page
- CVE-2020-13445 Liferay Portal and Liferay DXP Vulnerable to Arbitrary Code Execution
Sources
Also known as GHSA-9h7f-5hc8-cj5f.