GHSA-4h72-34j6-j8x7 Maloja error page XSS vulnerability

Not scored Published

Reflected XSS in Maloja error pages allows attackers to execute scripts and modify user scrobble data via crafted links.

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-4h72-34j6-j8x7?

GHSA-4h72-34j6-j8x7 is a cross-site scripting vulnerability in malojaserver, published on 18 Dec 2023. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

Official description

Impact

The error page for a missing path echoes the path back to the user. If this contains HTML, an attacker could execute a script on the user's machine inside the Maloja context and perform authorized actions like scrobbling or deleting scrobbles. This does not affect the security of your server. The exploit is purely client-side. Since there is very little incentive to mess with your scrobble data and it requires very specific targeting (an attacker would have to send a user a link to their own server), the severity rating might be misleading.

Patches

The Vulnerability is patched in 3.2.2

Which versions are affected by GHSA-4h72-34j6-j8x7?

2 open source packages ship an affected version, including malojaserver.

PackageAffectedFixed in
malojaserver PyPIAll versions3.2.2
malojaserver PyPIAll versions3.2.2

How do I fix GHSA-4h72-34j6-j8x7?

Upgrade malojaserver to 3.2.2 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 GHSA-4h72-34j6-j8x7 being exploited?

There is no known exploitation of GHSA-4h72-34j6-j8x7 in the wild and no public exploit code.

Sources

Is GHSA-4h72-34j6-j8x7 in your software?

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

Check your SBOMs for free