GHSA-jfxf-4frr-9j3q XSS in various backend modules due to (un)escaping in JS notification module

Not scored Published

Authenticated users can inject malicious scripts via unescaped HTML in notification messages, potentially compromising other users' sessions.

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
Available

What is GHSA-jfxf-4frr-9j3q?

GHSA-jfxf-4frr-9j3q is a cross-site scripting vulnerability in neos/neos, published on 25 May 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

The notification module displaying flash messages unscapes HTML coming from the server, resulting in XSS vulnerabilities with various names and labels of entities (eg. workspace title or media title). This however means you must be a logged in user with respective rights in the first place to leverage the attack vector.

Which versions are affected by GHSA-jfxf-4frr-9j3q?

12 open source packages ship an affected version, including neos/neos.

PackageAffectedFixed in
neos/neos PackagistFrom 3.35.3.10
neos/neos PackagistFrom 3.35.3.10
neos/neos PackagistFrom 7.0.07.0.9
neos/neos PackagistFrom 7.0.07.0.9
neos/neos PackagistFrom 7.1.07.1.7
neos/neos PackagistFrom 7.1.07.1.7
6 more packages
neos/neos PackagistFrom 7.2.07.2.6
neos/neos PackagistFrom 7.2.07.2.6
neos/neos PackagistFrom 7.3.07.3.4
neos/neos PackagistFrom 7.3.07.3.4
neos/neos PackagistFrom 8.0.08.0.2
neos/neos PackagistFrom 8.0.08.0.2

How do I fix GHSA-jfxf-4frr-9j3q?

Upgrade neos/neos to a fixed version for your release line: 5.3.10, 7.0.9, 7.1.7 or 7.2.6.

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 GHSA-jfxf-4frr-9j3q being exploited?

There is no known exploitation of GHSA-jfxf-4frr-9j3q in the wild and no public exploit code.

Sources

Is GHSA-jfxf-4frr-9j3q in your software?

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

Check your SBOMs for free