A Leader in the 2026 Gartner® Magic Quadrant™ for Endpoint Protection. Six years running.Six years. Gartner® Magic Quadrant™ Leader.Find Out Why
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2024-51490

CVE-2024-51490: Ampache XSS Vulnerability

CVE-2024-51490 is a cross-site scripting flaw in Ampache's Custom URL Logo interface that allows attackers to execute malicious JavaScript. This article covers technical details, affected versions, impact, and mitigation.

Published: May 26, 2026

CVE-2024-51490 Overview

CVE-2024-51490 is a stored Cross-Site Scripting (XSS) vulnerability in Ampache, a web-based audio and video streaming application and file manager. The flaw resides in the interface section of the Ampache menu, where authenticated users can modify the Custom URL - Logo setting. The application fails to sanitize input submitted to this field, allowing attackers to inject arbitrary JavaScript that executes in the browsers of other users viewing the affected interface. Ampache version 7.0.0 is affected, and the maintainers released a fix in version 7.0.1.

Critical Impact

Authenticated attackers can inject persistent JavaScript that executes against any user loading the Ampache interface, enabling session theft, credential capture, and unauthorized actions within the application.

Affected Products

  • Ampache 7.0.0
  • Ampache web-based audio/video streaming application
  • Ampache file manager component (interface menu)

Discovery Timeline

  • 2024-11-11 - CVE-2024-51490 published to NVD
  • 2024-11-14 - Last updated in NVD database

Technical Details for CVE-2024-51490

Vulnerability Analysis

The vulnerability is classified as [CWE-79], Improper Neutralization of Input During Web Page Generation. It is a stored XSS issue, meaning the malicious payload is persisted by the application and re-served to any user who loads the affected interface element. The Custom URL - Logo field accepts a string intended to point at a logo asset, but the application renders this value into the HTML response without escaping or filtering script-capable content.

Exploitation requires an authenticated user with permission to modify interface settings. Once the payload is saved, the script runs in the browser context of every user who renders the Ampache UI containing the logo. The scope change reflected in the CVSS vector indicates that the injected code can act beyond the vulnerable component's authorization boundary, affecting other users' sessions.

Root Cause

The root cause is missing output encoding on a user-controlled configuration value. The Custom URL - Logo input is treated as a trusted URL string and emitted directly into HTML attribute or tag context. Attackers can break out of the intended attribute with quote characters or supply a javascript: URI, embedding executable script content that the browser then parses and runs.

Attack Vector

The attack is network-based and requires user interaction from a victim who loads the Ampache interface after the payload is saved. An attacker with low-privileged authenticated access navigates to the interface configuration, sets the logo field to a malicious value containing JavaScript, and waits for administrators or other users to view the interface. The injected code runs with the victim's privileges, enabling cookie theft, account takeover, or pivoting to administrative functions.

No verified public proof-of-concept code is available. Technical details are described in the GitHub Security Advisory.

Detection Methods for CVE-2024-51490

Indicators of Compromise

  • Unexpected <script> tags, javascript: URIs, or HTML event handlers stored in the Ampache Custom URL - Logo interface setting.
  • Database rows in the Ampache preferences table containing markup characters such as <, >, or onerror= in the logo URL field.
  • Outbound browser requests from administrator sessions to attacker-controlled domains shortly after loading the Ampache UI.

Detection Strategies

  • Review Ampache configuration values, especially the interface logo setting, for non-URL content or HTML control characters.
  • Inspect web server access logs for POST requests to the Ampache preferences endpoint that contain script-like payloads in form parameters.
  • Compare the running Ampache version against the fixed release 7.0.1 to identify exposed installations.

Monitoring Recommendations

  • Enable Content Security Policy (CSP) reporting to capture inline script violations originating from the Ampache interface.
  • Monitor administrative account activity for anomalous session behavior immediately after viewing the Ampache UI.
  • Alert on configuration changes to interface preferences performed by non-administrative accounts.

How to Mitigate CVE-2024-51490

Immediate Actions Required

  • Upgrade Ampache to version 7.0.1 or later, which sanitizes the Custom URL - Logo field.
  • Audit the current value of the logo configuration and reset it to a known-good URL if any HTML or script content is present.
  • Rotate session tokens and credentials for accounts that may have rendered the Ampache UI while a malicious payload was stored.

Patch Information

The vulnerability is resolved in Ampache 7.0.1. The maintainers state there are no supported workarounds, and all users should upgrade. Refer to the Ampache GitHub Security Advisory GHSA-x979-f6px-7j2w for release details.

Workarounds

  • No vendor-supported workarounds exist; upgrading to 7.0.1 is required.
  • As an interim risk reduction, restrict access to interface preference settings to a minimal set of trusted administrators.
  • Deploy a strict Content Security Policy that disallows inline scripts to reduce the impact of stored XSS payloads until patching is complete.
bash
# Configuration example: upgrade Ampache via composer or replace the application files
# Verify installed version after upgrade
php /var/www/ampache/bin/cli version
# Expected output should report 7.0.1 or later

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeXSS

  • Vendor/TechAmpache

  • SeverityCRITICAL

  • CVSS Score9.0

  • EPSS Probability0.20%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityHigh
  • AvailabilityHigh
  • CWE References
  • CWE-79
  • Technical References
  • GitHub Security Advisory
  • Latest CVEs
  • CVE-2024-8261: Prolizyazilim OBS Auth Bypass Vulnerability

  • CVE-2024-13068: LimonDesk Auth Bypass Vulnerability

  • CVE-2025-53679: Fortinet FortiSandbox RCE Vulnerability

  • CVE-2026-9446: Simple POS Inventory System SQLi Flaw
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English