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

Medium 5.4 Published Updated

An attacker with rule modification rights can inject XSS payloads into rule IDs, allowing them to execute scripts in the browsers of other users, including administrators.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2024-52812?

CVE-2024-52812 is a medium-severity cross-site scripting vulnerability in lf-edge ekuiper, published on 10 Mar 2025. Any signed-in user can exploit it over the network, with no action from the victim.

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.

Weakness: CWE-79

Which versions are affected by CVE-2024-52812?

6 open source packages ship an affected version, including github.com/lf-edge/ekuiper and github.com/lf-edge/ekuiper/v2.

PackageAffectedFixed in
github.com/lf-edge/ekuiper GoAll versionsNone
github.com/lf-edge/ekuiper GoAll versions to 1.14.7None
github.com/lf-edge/ekuiper GoAll versions to 1.14.7None
github.com/lf-edge/ekuiper/v2 GoAll versions2.0.8
github.com/lf-edge/ekuiper/v2 GoAll versions2.0.8
github.com/lf-edge/ekuiper/v2 GoAll versions2.0.8

How do I fix CVE-2024-52812?

Upgrade to a fixed version.

Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.

Is CVE-2024-52812 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-52812 exists.

Sources

Also known as GHSA-6hrw-x7pr-4mp8, GO-2025-3508.

Is CVE-2024-52812 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free