CVE-2024-51486 Stored Cross-Site Scripting in Ampache

Medium 5.5 Published Updated

Attackers can inject malicious JavaScript via the Custom URL Favicon field in Ampache, potentially leading to session hijacking or code execution.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2024-51486?

CVE-2024-51486 is a medium-severity cross-site scripting vulnerability in ampache, published on 11 Nov 2024. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

Official description

Ampache is a web based audio/video streaming application and file manager. The vulnerability exists in the interface section of the Ampache menu, where users can change the "Custom URL - Favicon". This section is not properly sanitized, allowing for the input of strings that can execute JavaScript. This issue has been addressed in version 7.0.1 and all users are advised to upgrade. There are no known workarounds for this vulnerability.

Weakness: CWE-79

Which versions are affected by CVE-2024-51486?

It affects 1 product.

Products include Ampache Ampache.

How do I fix CVE-2024-51486?

No fix has been published for CVE-2024-51486 yet. Limit exposure of the affected software until one is available.

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-51486 being exploited?

There is no known exploitation of CVE-2024-51486 in the wild and no public exploit code.

Sources

Also known as GHSA-4xw5-f7xm-vpw5, UBUNTU-CVE-2024-51486.

Is CVE-2024-51486 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free