CVE-2023-47797 Liferay Portal XSS with `p_l_back_url_title` on edit content page

Critical 9.6 Published Updated

Remote attackers can inject arbitrary web script or HTML via the p_l_back_url_title parameter on content edit pages 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-2023-47797?

CVE-2023-47797 is a critical cross-site scripting vulnerability in Liferay Liferay Portal, published on 17 Nov 2023. 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

Reflected cross-site scripting (XSS) vulnerability on a content page’s edit page in Liferay Portal 7.4.3.94 through 7.4.3.95 allows remote attackers to inject arbitrary web script or HTML via the `p_l_back_url_title` parameter.

Weakness: CWE-79

Which versions are affected by CVE-2023-47797?

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.4.3.947.4.3.96
com.liferay.portal:release.portal.bom MavenFrom 7.4.3.947.4.3.96

Products include Liferay Liferay Portal.

How do I fix CVE-2023-47797?

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

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

All Liferay Liferay Portal vulnerabilities

Sources

Also known as GHSA-v32m-pf9q-p3xg.

Is CVE-2023-47797 in your software?

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

Check your SBOMs for free