Advisory

GHSA-4h72-34j6-j8x7

Also known as: None

Summary

Maloja error page XSS vulnerability

Details

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

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2023-12-18 19:31 UTC
Modified
2024-12-06 05:36 UTC

Affected packages and fixes

malojaserver

PyPI · All systems

Affected

  • introduced 0, fixed 3.2.2 (ecosystem)

Fixed versions

3.2.2

Fix

  • Fixed version 3.2.2
    pip install --upgrade malojaserver==3.2.2

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences