CVE-2024-52290: Github.com/lf edge/ekuiper Cross-Site Scripting Vulnerability
MODERATECVE-2024-52290 is a MODERATE (CVSS 6.3) cross-site scripting vulnerability (CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')) affecting Github.com/lf edge/ekuiper libraries in the Go ecosystem. The issue involves lf edge ekuiper vulnerable to stored xss in configuration key functionality. Remediation is available by upgrading affected packages to version 2.1.0.
CVE-2024-52290 at a Glance
Security Impact
CVSS: 6.3
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:L/A:N).
How to Fix CVE-2024-52290
To remediate this vulnerability, upgrade all affected Github.com/lf edge/ekuiper dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade github.com/lf-edge/ekuiper to Latest secure release
Upgrade github.com/lf-edge/ekuiper/v2 to 2.1.0
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for github.com/lf-edge/ekuiper
How to Check if You Are Affected
To determine whether your application is affected by CVE-2024-52290, inspect your project dependencies for Github.com/lf edge/ekuiper:
inspect dependencies for github.com/lf-edge/ekuiper
Analyze the terminal output to locate any version of Github.com/lf edge/ekuiper in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.1.0), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting'), where the product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users. In Github.com/lf edge/ekuiper, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2024-52290 Affected Github.com/lf edge/ekuiper Versions
2 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
github.com/lf-edge/ekuiper
|
Go |
≤ 1.14.7
|
|
|
github.com/lf-edge/ekuiper/v2
|
Go |
< 2.1.0
|
2.1.0
|
References
Frequently Asked Questions
What is CVE-2024-52290?
Which Github.com/lf edge/ekuiper versions are affected?
What version fixes CVE-2024-52290?
Is github.com/lf-edge/ekuiper affected?
Is github.com/lf-edge/ekuiper/v2 affected?
What is the CVSS score of CVE-2024-52290?
What CWE is associated with CVE-2024-52290?
How can I check Go dependencies for CVE-2024-52290?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-9cwv-pxcr-hfjc",
"modified" : "2025-05-14T21:41:26Z",
"published" : "2025-05-14T21:41:26Z",
"aliases" : [ "CVE-2024-52290" ],
"summary" : "LF Edge eKuiper Vulnerable to Stored XSS in Configuration Key Functionality",
"details" : "### Summary\nStored Cross-Site Scripting (XSS) vulnerability allows attackers to inject malicious scripts into web applications, which can then be executed in the context of other users' browsers. This can lead to unauthorized access to sensitive information, session hijacking, and spreading of malware, impacting user data privacy and application integrity.\n\n### Details\nA user with rights to modificate the service (e.g. kuiperUser role) can inject XSS Payload into Connection Configuration key `Name` (`confKey`) parameter. Then, after any user with access to this service (e.g. admin) will try to delete this key, a payload will act in victim's browser.\n\n### PoC\n1. Authorize as a user with rights to modificate the service (e.g. kuiperUser role).\n2. Create a service or go to the existing one and access the *Configuration > Connection* page:\n\n\n\n3. Open any existing Connection and press on `Add configuration key`:\n\n\n\n4. Set any name and Address, then intercept the request and add the following payload to the `confKey` parameter: `123%3Cimg%20src=1%20onerror%3dalert%281%29%3E`:\n\n\n\n5. A new configuration key then will be set: \n\n\n\n6. *(Optional)* You can authorize another user with access to this service. For nexe steps I will use admin user\n7. After we push on delete button (trash icon) opposite the created connection, the payload will work:\n\n\n\n\n### Impact\nStored Cross-site Scripting (XSS) vulnerability\n\nReported by Alexey Kosmachev, Lead Pentester from Bi.Zone",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:L/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/lf-edge/ekuiper"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"last_affected" : "1.14.7"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/lf-edge/ekuiper/v2"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "2.1.0"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/lf-edge/ekuiper/security/advisories/GHSA-9cwv-pxcr-hfjc"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2024-52290"
}, {
"type" : "WEB",
"url" : "https://github.com/lf-edge/ekuiper/commit/943c02e10f0f8349e609474810eab5fa460d1a51"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/lf-edge/ekuiper"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-79" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2025-05-14T21:41:26Z",
"nvd_published_at" : "2025-05-14T08:15:33Z"
}
}