GitHub Advisoryadvisory · PyPI
GHSA-4h72-34j6-j8x7 Maloja error page XSS vulnerability
MEDIUM
Official page ↗
- Ecosystem
- PyPI
- Packages
- malojaserver
- Severity
- Moderate
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N
- Weaknesses
- CWE-79
- Reviewed
- 2023-12-18
Affected packages
• PyPI malojaserver: < 3.2.2 → fixed in 3.2.2
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
Related
Weakness · CWE (1)
- CWE-79 Improper Neutralization of Input During Web Page Generation weakness