What’s Vulnerable › Vulnerabilities

CVE-2024-51492: Zusam vulnerable to stored XSS, allowing token theft via crafted SVG

Description

Zusam is a free and open-source way to self-host private forums. Prior to version 0.5.6, specially crafted SVG files uploaded to the service as images allow for unrestricted script execution on (raw) image load. With certain payloads, theft of the target user’s long-lived session token is possible. Note that Zusam, at the time of writing, uses a user’s static API key as a long-lived session token, and these terms can be used interchangeably on the platform. This session token/API key remains valid indefinitely, so long as the user doesn’t expressly request a new one via their Settings page. Version 0.5.6 fixes the cross-site scripting vulnerability.

Affected products

How to fix

Upgrade to a fixed version: zusam 0.5.6. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2024-51492 or the next vulnerability affects your stack