Skip to main content

CVE-2025-24978

LOW
Cross-site Scripting (XSS) (CWE-79)
2026-09-09 https://github.com/lf-edge/ekuiper GHSA-g8rh-fjm6-h2h9
3.7
CVSS 3.1 · GitHub Advisory

Severity by source

GitHub Advisory PRIMARY
3.7 LOW
AV:N/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:N

Primary rating from GitHub Advisory · only source for this CVE.

CVSS VectorGitHub Advisory

Attack Vector
Network
Attack Complexity
High
Privileges Required
Low
User Interaction
Required
Scope
Unchanged
Confidentiality
Low
Integrity
Low
Availability
None

Lifecycle Timeline

2
Source Code Evidence Fetched
Sep 09, 2026 - 18:36 vuln.today
Analysis Generated
Sep 09, 2026 - 18:36 vuln.today

DescriptionGitHub Advisory

Summary

A Cross-Site Scripting (XSS) vulnerability in external service creation allows an authenticated attacker to inject HTML/script payloads into external service names, which may execute in a user's browser when rendered by administrative web interfaces.

Details

Prior to v2.4.0, external service registration endpoints did not strictly enforce alphanumeric character restrictions on service names. An operator or attacker with API access could register a service using a crafted name containing HTML elements (such as <iframe src="...">). If an administrative web UI rendered the unescaped service name, arbitrary script execution could occur in the context of the user's browser session.

PoC

  1. Create an external service JSON definition with a filename containing an XSS payload, e.g. <iframe src="javascript:alert1337">.json inside a ZIP archive.
  2. In external service creation, upload the ZIP and provide the matching service name: <iframe src="javascript:alert1337">.
  3. Upon service registration, the unescaped name executes when rendered in the UI context.

Impact

Self-XSS / Stored XSS leading to potential session token leakage or unauthorized actions in the context of the affected user's browser session.

Remediation & Patches

  • Upgrade to eKuiper >= 2.4.0: Strict alphanumeric identifier validation (validate.ValidateID) is now enforced on all external service creation and update endpoints, rejecting invalid characters.

Workarounds

  • Protect eKuiper management endpoints (POST /services) with authentication and network-level firewalls.

Credits

  • Reported by Alexey Kosmachev, Bi.Zone (@TheMostKnown)

AnalysisAI

Stored Cross-Site Scripting in LF Edge eKuiper (versions prior to 2.4.0) allows an authenticated API user to inject arbitrary HTML or JavaScript into external service names, which execute in any administrator's browser when the administrative web UI renders the unescaped identifier. Successful exploitation can lead to session token exfiltration or unauthorized browser-context actions on behalf of the viewing administrator. A detailed public proof-of-concept exists in GitHub Security Advisory GHSA-g8rh-fjm6-h2h9; no active exploitation has been confirmed by CISA KEV at time of analysis.

Share

CVE-2025-24978 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy