CVE-2022-38902 Cross-site scripting in n/a

Medium 5.4 Published Updated

Remote attackers can inject arbitrary JavaScript or HTML into the name field of new blog topics in Liferay DXP.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2022-38902?

CVE-2022-38902 is a medium-severity cross-site scripting vulnerability in Liferay Liferay Portal, published on 13 Oct 2022. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

Official description

A Cross-site scripting (XSS) vulnerability in the Blog module - add new topic functionality in Liferay Digital Experience Platform 7.3.10 SP3 allows remote attackers to inject arbitrary JS script or HTML into the name field of newly created topic.

Weakness: CWE-79

Which versions are affected by CVE-2022-38902?

It affects 2 products.

Products include Liferay Dxp, Liferay Liferay Portal.

How do I fix CVE-2022-38902?

No fix has been published for CVE-2022-38902 yet. Limit exposure of the affected software until one is available.

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-38902 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-38902 exists.

All Liferay Liferay Portal vulnerabilities

Sources

Also known as GHSA-gw4h-jpvh-jq27.

Is CVE-2022-38902 in your software?

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

Check your SBOMs for free