github.com/lf-edge/ekuiper/v2
Affected
- introduced
0, fixed2.4.0(semver)
Fixed versions
2.4.0
Fix
- Fixed version
2.4.0go get github.com/lf-edge/ekuiper/[email protected]
Advisory
Also known as: CVE-2025-24978, GO-2026-6446
LF Edge eKuiper: Self-XSS in External Service Creation
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
<iframe src="javascript:alert1337">.json inside a ZIP archive.<iframe src="javascript:alert1337">.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
validate.ValidateID) is now enforced on all external service creation and update endpoints, rejecting invalid characters.Workarounds
POST /services) with authentication and network-level firewalls.Credits
Low Basis: The source's own band: LOW
0, fixed 2.4.0 (semver)2.4.0
2.4.0go get github.com/lf-edge/ekuiper/[email protected]Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0