CVE-2025-24978: XSS

Published Sep 9, 2026
·
Updated

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)

Affected Software

1 affected componentFixes available
go/github.com/lf-edge/ekuiper/v2<2.4.0
2.4.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade go/github.com/lf-edge/ekuiper/v2 to a version that resolves this vulnerability.

    Fixed in 2.4.0
  2. Upgrade

    Upgrade eKuiper to a version that resolves this vulnerability.

    Fixed in 2.4.0
  3. Compensating control

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

Event History

Sep 9, 2026
Advisory Published
via GitHub·05:56 PM
Data Sourced
via GitHub·05:56 PM
DescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

Who needs to be able to exploit this issue?

An attacker needs authenticated API access or operator-level access sufficient to create or register an external service. Exploitation also depends on an administrative web interface rendering the crafted service name without escaping it.

2

Which versions are affected?

The issue affects versions prior to v2.4.0. Version v2.4.0 is identified as the release after strict alphanumeric restrictions on external service names were enforced.

3

What conditions make the impact more likely?

A malicious external service name must be registered, such as through the ZIP-based external service creation workflow, and then viewed in an administrative UI that renders the name unescaped. The resulting browser-context script execution could enable session-token theft or unauthorized actions.

4

How can administrators check for possible exploitation?

Review registered external service names and uploaded external-service ZIP definitions for names containing HTML or script-like characters, including tags such as iframe. Pay particular attention to service names that would not meet an alphanumeric-only naming policy.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203