CVE-2024-42346 Stored Cross Site Scripting (Stored XSS) in Galaxy
Attackers can inject malicious scripts via the visualization editor, leading to JavaScript execution in victim browsers.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2024-42346?
CVE-2024-42346 is a high-severity cross-site scripting vulnerability in galaxyproject galaxy, published on 20 Sep 2024. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
Galaxy is a free, open-source system for analyzing data, authoring workflows, training and education, publishing tools, managing infrastructure, and more. The editor visualization, /visualizations endpoint, can be used to store HTML tags and trigger javascript execution upon edit operation. All supported branches of Galaxy (and more back to release_20.05) were amended with the supplied patches. Users are advised to upgrade. There are no known workarounds for this vulnerability.
Weakness: CWE-79
Which versions are affected by CVE-2024-42346?
2 open source packages ship an affected version, including galaxy-auth and galaxy-data. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
galaxy-auth PyPI | All versions | 24.1.1 |
galaxy-data PyPI | All versions | 24.1.1 |
Products include Galaxyproject Galaxy.
How do I fix CVE-2024-42346?
Upgrade galaxy-auth to 24.1.1 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 CVE-2024-42346 being exploited?
There is no known exploitation of CVE-2024-42346 in the wild and no public exploit code.
Public exploit code: 1 proofs of concept on GitHub.
Other vulnerabilities in galaxyproject galaxy
- CVE-2023-27578 Galaxy vulnerable to unauthorized modification of pages/visualizations due to insufficient permission check
- CVE-2022-23470 Arbitrary file access in the Galaxy data analysis platform
- CVE-2024-42351 Possible Data Tampering & Loss of Public Datasets in Galaxy
- CVE-2023-42812 Galaxy vulnerable to Server Side Request Forgery during data imports
- CVE-2018-1000516 Galaxy cross-site scripting (XSS)
Sources
Also known as GHSA-x6w7-3gwf-qr9r, PYSEC-2024-272, PYSEC-2024-273.