CVE-2019-16147 Liferay Portal Vulnerable to Cross-Site Scripting (XSS) via a Journal Article Title

Medium 6.1 Published Updated

Attackers can execute arbitrary scripts in victim browsers by injecting malicious code into journal article titles 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-2019-16147?

CVE-2019-16147 is a medium-severity cross-site scripting vulnerability in Liferay Liferay Portal, published on 9 Sep 2019. 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

Liferay Portal through 7.2.0 GA1 allows XSS via a journal article title to journal_article/page.jsp in journal/journal-taglib.

Weakness: CWE-79

Which versions are affected by CVE-2019-16147?

2 open source packages ship an affected version, including com.liferay:com.liferay.journal.taglib. It affects 1 product.

PackageAffectedFixed in
com.liferay:com.liferay.journal.taglib MavenAll versions3.0.4
com.liferay:com.liferay.journal.taglib MavenAll versions3.0.4

Products include Liferay Liferay Portal.

How do I fix CVE-2019-16147?

Upgrade com.liferay:com.liferay.journal.taglib to 3.0.4 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-2019-16147 being exploited?

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

All Liferay Liferay Portal vulnerabilities

Sources

Also known as GHSA-m2gx-7pvx-3gvg.

Is CVE-2019-16147 in your software?

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

Check your SBOMs for free