Vulnerability · Published Mar 10, 2025 · Assigned by GitHub_M
CVE-2024-52812LF Edge eKuiper has Stored XSS in Rules Functionality
Medium 5.4
In plain English
A medium-severity cross-site scripting in ekuiper from lf-edge. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 28% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
LF Edge eKuiper is an internet-of-things data analytics and stream processing engine. Prior to version 2.0.8, auser with rights to modify the service (e.g. kuiperUser role) can inject a cross-site scripting payload into the rule `id` parameter. Then, after any user with access to this service (e.g. admin) tries make any modifications with the rule (update, run, stop, delete), a payload acts in the victim's browser. Version 2.0.8 fixes the issue.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Go | github.com/lf-edge/ekuiper | no fix listed | GHSA-6hrw-x7pr-4mp8 |
| Go | github.com/lf-edge/ekuiper | no fix listed | GO-2025-3508 |
| Go | github.com/lf-edge/ekuiper/v2 | 2.0.8 | GHSA-6hrw-x7pr-4mp8 |
| Go | github.com/lf-edge/ekuiper/v2 | 2.0.8 | GO-2025-3508 |
Affected products (as reported)
Weakness: CWE-79 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
References
- https://github.com/lf-edge/ekuiper/security/advisories/GHSA-6hrw-x7pr-4mp8 x_refsource_CONFIRM
- https://github.com/lf-edge/ekuiper/blob/dbce32d5a195cf1de949b3a6a4e29f0df0f3330d/internal/server/rest.go#L681 x_refsource_MISC
- https://github.com/lf-edge/ekuiper/blob/dbce32d5a195cf1de949b3a6a4e29f0df0f3330d/internal/server/rest.go#L716 x_refsource_MISC
- https://github.com/lf-edge/ekuiper/blob/dbce32d5a195cf1de949b3a6a4e29f0df0f3330d/internal/server/rest.go#L735 x_refsource_MISC
- https://github.com/lf-edge/ekuiper/blob/dbce32d5a195cf1de949b3a6a4e29f0df0f3330d/internal/server/rest.go#L794 x_refsource_MISC
- https://github.com/lf-edge/ekuiper/blob/dbce32d5a195cf1de949b3a6a4e29f0df0f3330d/internal/server/rest.go#L809 x_refsource_MISC
- https://github.com/lf-edge/ekuiper/blob/dbce32d5a195cf1de949b3a6a4e29f0df0f3330d/internal/server/rest.go#L824 x_refsource_MISC
- https://github.com/lf-edge/ekuiper/releases/tag/v2.0.8 x_refsource_MISC