CVE-2024-6877: Panel: Reflected XSS enables session hijack in ML UI
CRITICALCVE-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.
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?
What systems are affected?
| Package | Ecosystem | Vulnerable Range | Patched |
|---|---|---|---|
| Panel | pip | — | No patch |
Do you use Panel? You're affected.
How severe is it?
What should I do?
5 steps-
Immediate: Upgrade Panel to v2.3.24 or later — this is the only complete fix.
-
If patching is not immediately possible, restrict all Panel instances to internal networks or VPN-only access to eliminate external reflected XSS attack surface.
-
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.
-
Audit Panel deployments: enumerate publicly accessible instances, verify authentication is enforced, and review what backend resources are reachable from the Panel context.
-
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:
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
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
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.
References
- siberguvenlik.gov.tr/guvenlik-bildirimleri/detay/tr-24-1497 government-resource
- usom.gov.tr/bildirim/tr-24-1497 government-resource broken-link
Timeline
Related Vulnerabilities
CVE-2024-13152 10.0 Mobuy Panel: SQLi allows unauthenticated DB takeover
Same package: panel CVE-2026-47744 9.9 Shopper: RBAC bypass allows full admin takeover
Same package: panel CVE-2024-13147 9.8 B2B Login Panel: SQLi enables unauthenticated DB access
Same package: panel CVE-2024-5960 9.8 Panel: plaintext credential storage enables domain compromise
Same package: panel CVE-2025-14014 9.8 Smart Panel: unauthenticated file upload enables RCE
Same package: panel