CVE-2024-6877: Panel: Reflected XSS enables session hijack in ML UI

CRITICAL
Published September 18, 2024
CISO Take

CVE-2024-6877 is a reflected cross-site scripting vulnerability in Eliz Software Panel before v2.3.24, allowing unauthenticated attackers to inject and execute arbitrary JavaScript in the browsers of users who follow a crafted URL. In AI and data science environments, Panel-based dashboards frequently expose model outputs, inference endpoints, and internal tooling — a successful XSS attack can harvest session tokens, exfiltrate API keys, or pivot to backend infrastructure reachable from the victim's browser. The package carries 479 downstream dependents and a history of 30 CVEs, indicating sustained security debt, and while no active exploitation is confirmed (not in CISA KEV, no public exploits or Nuclei templates), reflected XSS is trivially weaponized via a single phishing link with no authentication required. Patch to v2.3.24 or later immediately, restrict Panel deployments behind authentication and VPN where possible, and deploy a strict Content Security Policy to limit inline script execution.

Sources: NVD OpenSSF ATLAS

What is the risk?

Medium-high risk for organizations exposing Panel-based ML dashboards to external users or semi-trusted internal networks. The vulnerability requires no authentication and only minimal attacker skill — a crafted URL delivered via phishing is sufficient. The AI-specific risk is elevated because Panel is commonly used to surface model serving interfaces, MLOps tooling, and data pipelines; successful exploitation grants an attacker an authenticated browser session with access to whatever backend resources the dashboard connects to. The package's history of 30 CVEs and a moderate OpenSSF Scorecard of 6.5/10 indicates a pattern of security debt that warrants proactive scrutiny.

How does the attack unfold?

Delivery
Attacker crafts a malicious URL embedding a reflected XSS payload in a vulnerable Panel query parameter and delivers it to a target user via phishing.
AML.T0011.003
Exploitation
Victim opens the crafted URL; Panel reflects the unsanitized input into the rendered page, executing the attacker's JavaScript payload in the victim's browser session.
AML.T0049
Credential Harvest
The injected script exfiltrates session cookies, bearer tokens, or API keys accessible from the browser context to an attacker-controlled external endpoint.
AML.T0055
Impact
Attacker authenticates with stolen credentials to the Panel instance and connected AI infrastructure, accessing model outputs, inference API keys, and pipeline data.
AML.T0025

What systems are affected?

Package Ecosystem Vulnerable Range Patched
Panel pip No patch
5.7K OpenSSF 6.5 479 dependents Pushed 6d ago 53% patched ~6d to patch Full package profile →

Do you use Panel? You're affected.

How severe is it?

CVSS 3.1
N/A
EPSS
N/A
Exploitation Status
No known exploitation
Sophistication
Trivial

What should I do?

5 steps
  1. Immediate: Upgrade Panel to v2.3.24 or later — this is the only complete fix.

  2. If patching is not immediately possible, restrict all Panel instances to internal networks or VPN-only access to eliminate external reflected XSS attack surface.

  3. Implement a Content Security Policy (CSP) header with 'script-src self' and disallow inline scripts — this materially limits XSS payload execution even if the injection point exists.

  4. Audit Panel deployments: enumerate publicly accessible instances, verify authentication is enforced, and review what backend resources are reachable from the Panel context.

  5. Monitor access logs for XSS indicators: URL-encoded script tags, event handler strings (onerror, onload), or encoded payloads in query parameters.

How is it classified?

Which compliance frameworks are affected?

This CVE is relevant to:

EU AI Act
Art. 15 - Accuracy, robustness and cybersecurity
ISO 42001
A.9.2 - AI system security and access controls
NIST AI RMF
PROTECT-1.1 - Security of AI systems and data
OWASP LLM Top 10
LLM02 - Insecure Output Handling

Frequently Asked Questions

What is CVE-2024-6877?

CVE-2024-6877 is a reflected cross-site scripting vulnerability in Eliz Software Panel before v2.3.24, allowing unauthenticated attackers to inject and execute arbitrary JavaScript in the browsers of users who follow a crafted URL. In AI and data science environments, Panel-based dashboards frequently expose model outputs, inference endpoints, and internal tooling — a successful XSS attack can harvest session tokens, exfiltrate API keys, or pivot to backend infrastructure reachable from the victim's browser. The package carries 479 downstream dependents and a history of 30 CVEs, indicating sustained security debt, and while no active exploitation is confirmed (not in CISA KEV, no public exploits or Nuclei templates), reflected XSS is trivially weaponized via a single phishing link with no authentication required. Patch to v2.3.24 or later immediately, restrict Panel deployments behind authentication and VPN where possible, and deploy a strict Content Security Policy to limit inline script execution.

Is CVE-2024-6877 actively exploited?

No confirmed active exploitation of CVE-2024-6877 has been reported, but organizations should still patch proactively.

How to fix CVE-2024-6877?

1. Immediate: Upgrade Panel to v2.3.24 or later — this is the only complete fix. 2. If patching is not immediately possible, restrict all Panel instances to internal networks or VPN-only access to eliminate external reflected XSS attack surface. 3. Implement a Content Security Policy (CSP) header with 'script-src self' and disallow inline scripts — this materially limits XSS payload execution even if the injection point exists. 4. Audit Panel deployments: enumerate publicly accessible instances, verify authentication is enforced, and review what backend resources are reachable from the Panel context. 5. Monitor access logs for XSS indicators: URL-encoded script tags, event handler strings (onerror, onload), or encoded payloads in query parameters.

What systems are affected by CVE-2024-6877?

This vulnerability affects the following AI/ML architecture patterns: ML model monitoring dashboards, Data exploration and analytics UIs, Model serving interfaces, Internal MLOps tooling portals, LLMOps and inference observability dashboards.

What is the CVSS score for CVE-2024-6877?

No CVSS score has been assigned yet.

What is the AI security impact?

Affected AI Architectures

ML model monitoring dashboardsData exploration and analytics UIsModel serving interfacesInternal MLOps tooling portalsLLMOps and inference observability dashboards

MITRE ATLAS Techniques

AML.T0011.003 Malicious Link
AML.T0025 Exfiltration via Cyber Means
AML.T0049 Exploit Public-Facing Application
AML.T0055 Unsecured Credentials

Compliance Controls Affected

EU AI Act: Art. 15
ISO 42001: A.9.2
NIST AI RMF: PROTECT-1.1
OWASP LLM Top 10: LLM02

What are the technical details?

Original Advisory

Improper Neutralization of Input During Web Page Generation (XSS or 'Cross-site Scripting') vulnerability in Eliz Software Panel allows Reflected XSS. This issue affects Panel: before v2.3.24.

Exploitation Scenario

An attacker identifies a publicly accessible Panel dashboard used by a data science team for LLM output monitoring. They enumerate a vulnerable URL parameter by referencing the public USOM advisory and craft a malicious URL that injects a JavaScript payload exfiltrating document.cookie to an attacker-controlled endpoint. The URL is packaged in a phishing email impersonating an internal security notice. A data scientist clicks the link; Panel reflects the unescaped payload into the page, the script fires, and the attacker receives the victim's session token. Using the stolen token, the attacker authenticates directly to the Panel dashboard and gains visibility into model inference results, plaintext API keys stored in configuration widgets, and hyperlinks to connected services such as MLflow or a Hugging Face Hub integration — enabling lateral movement into training infrastructure.

Weaknesses (CWE)

CWE-79 — Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting'): The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.

  • [Architecture and Design] Use a vetted library or framework that does not allow this weakness to occur or provides constructs that make this weakness easier to avoid [REF-1482]. Examples of libraries and frameworks that make it easier to generate properly encoded output include Microsoft's Anti-XSS library, the OWASP ESAPI Encoding module, and Apache Wicket.
  • [Implementation, Architecture and Design] Understand the context in which your data will be used and the encoding that will be expected. This is especially important when transmitting data between different components, or when generating outputs that can contain multiple encodings at the same time, such as web pages or multi-part mail messages. Study all expected communication protocols and data representations to determine the required encoding strategies. For any data that will be output to another web page, especially any data that was received from external inputs, use the appropriate encoding on all non-alphanumeric characters. Parts of the same output document may require different encodings, which will vary depending on whether the output is in the: etc. Note that HTML Entity Encoding is only appropriate for the HTML body. Consult the XSS Prevention Cheat Sheet [REF-724] for more details on the types of encoding and escaping that are needed. HTML body Element attributes (such as src="XYZ") URIs JavaScript sections Casca

Source: MITRE CWE corpus.

Timeline

Published
September 18, 2024
Last Modified
June 3, 2026
First Seen
June 12, 2026

Related Vulnerabilities