CVE-2021-29039 Liferay Portal Vulnerable to Cross-Site Scripting (XSS) via Categories Admin Page

Medium 6.1 Published Updated

Remote attackers can inject arbitrary web script or HTML via the site name in the Asset module's categories administration page.

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

CVE-2021-29039 is a medium-severity cross-site scripting vulnerability in Liferay Liferay Portal, published on 16 May 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 Asset module's categories administration page in Liferay Portal 7.3.4 allows remote attackers to inject arbitrary web script or HTML via the site name.

Weakness: CWE-79

Which versions are affected by CVE-2021-29039?

2 open source packages ship an affected version, including com.liferay.portal:release.portal.bom. It affects 1 product.

PackageAffectedFixed in
com.liferay.portal:release.portal.bom MavenFrom 7.3.47.3.5
com.liferay.portal:release.portal.bom MavenFrom 7.3.47.3.5

Products include Liferay Liferay Portal.

How do I fix CVE-2021-29039?

Upgrade com.liferay.portal:release.portal.bom to 7.3.5 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-29039 being exploited?

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

All Liferay Liferay Portal vulnerabilities

Sources

Also known as GHSA-239w-4f3w-cfcv.

Is CVE-2021-29039 in your software?

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

Check your SBOMs for free