CVE-2024-52597: 2FAuth is a web app to manage Two-Factor Authentication (2FA) accounts and generate their security codes
CVE-2024-52597 is a medium-severity flaw (CVSS 6.1) affecting 2fauth. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
2FAuth is a web app to manage Two-Factor Authentication (2FA) accounts and generate their security codes. Versions prior to 5.4.1 are vulnerable to stored cross-site scripting due to improper headers in direct access to uploaded SVGs. The application allows uploading images in several places. One of the accepted types of image is SVG, which allows JS scripting. Therefore, by uploading a malicious SVG which contains JS code, an attacker which is a
Why this priority
- Public exploit reference
A fixed release or distro patch exists.
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2024-52597?
2fauth: upgrade to 5.4.1. Exact commands for each OS are on this page.
Is CVE-2024-52597 being exploited?
CVE-2024-52597 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2024-52597 affect?
CVE-2024-52597 affects 2fauth. Severity is medium (CVSS 6.1). 2FAuth is a web app to manage Two-Factor Authentication (2FA) accounts and generate their security codes. Versions prior to 5.4.1 are vulnerable to stored cross-site scripting due to improper headers in direct access to uploaded SVGs. The a
How urgent is CVE-2024-52597?
Priority 35/100. Public exploit reference
Related CVEs
- CVE-2025-45731 MEDIUM 6.5 DOWNGRADE A group deletion race condition in 2FAuth v5.5.0 causes data inconsistencies and orphaned accounts when a grou
- CVE-2024-52598 HIGH 7.5 UPGRADE 2FAuth is a web app to manage Two-Factor Authentication (2FA) accounts and generate their security codes