CVE-2022-28980 Liferay Portal and Liferay DXP Vulnerable to XSS via the filter_ Prefix

Medium 6.1 Published Updated

Attackers can execute arbitrary web scripts or HTML in Liferay Portal via parameters with the filter_ prefix.

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-28980?

CVE-2022-28980 is a medium-severity cross-site scripting vulnerability in Liferay Liferay Portal, published on 22 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

Multiple cross-site scripting (XSS) vulnerabilities in Liferay Portal v7.4.3.4 and Liferay DXP v7.4 GA allows attackers to execute arbitrary web scripts or HTML via parameters with the filter_ prefix.

Weakness: CWE-79

Which versions are affected by CVE-2022-28980?

4 open source packages ship an affected version, including com.liferay.portal:release.dxp.bom and com.liferay:com.liferay.fragment.renderer.collection.filter.impl. It affects 2 products.

PackageAffectedFixed in
com.liferay.portal:release.dxp.bom MavenAll versions7.4.3.5-ga5
com.liferay.portal:release.dxp.bom MavenAll versions7.4.3.5-ga5
com.liferay:com.liferay.fragment.renderer.collection.filter.impl MavenAll versions1.0.11
com.liferay:com.liferay.fragment.renderer.collection.filter.impl MavenAll versions1.0.11

Products include Liferay Dxp, Liferay Liferay Portal.

How do I fix CVE-2022-28980?

Upgrade com.liferay.portal:release.dxp.bom to 7.4.3.5-ga5 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-28980 being exploited?

There is no known exploitation of CVE-2022-28980 in the wild and no public exploit code.

All Liferay Liferay Portal vulnerabilities

Sources

Also known as GHSA-8mp9-w7gr-pvj3.

Is CVE-2022-28980 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free