CVE-2024-41658: casdoor Cross-site Scripting
Vulnerability summary
CVE-2024-41658 is a medium (CVSS 6.1) Cross-site Scripting vulnerability in casdoor. EPSS estimates a 0.45% chance of exploitation in the next 30 days, higher than 37.5% of scored vulnerabilities. 1 public exploit is recorded.
Timeline
- 20-08-2024PublishedVulnerability first disclosed.
- 21-08-2024Last modifiedVulnerability information updated.
Description
Casdoor is a UI-first Identity and Access Management (IAM) / Single-Sign-On (SSO) platform. In Casdoor 1.577.0 and earlier, he purchase URL that is created to generate a WechatPay QR code is vulnerable to reflected XSS. When purchasing an item through casdoor, the product page allows you to pay via wechat pay. When using wechat pay, a QR code with the wechat pay link is displayed on the payment page, hosted on the domain of casdoor. This page takes a query parameter from the url successUrl, and redirects the user to that url after a successful purchase. Because the user has no reason to think that the payment page contains sensitive information, they may share it with other or can be social engineered into sending it to others. An attacker can then craft the casdoor link with a special url and send it back to the user, and once payment has gone though an XSS attack occurs.
CVSS metrics
4 scores · 3 sources · 2 versions- OSV · GoEcosystem advisory · calculated6.1MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- NVDNIST6.1MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
EPSS trend
Probability
0.45%
Chance of exploitation in the next 30 days
Percentile
38%
Versus all other CVEs
30-day change
0.00 pp
From 0.45% on 19-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
1 foundGhsl 2024 035 Ghsl 2024 036 Casdoor
Maturity: poc
Weaknesses
CWE · root causeAffected systems
Casdoor1 product
- casdoor≤ 1.577.0
Github.com/casdoor1 product
- casdoor≤ 1.577.0 | All versions (No fix recorded)
2 vendors · 2 products
References
6 links- securitylab.github.com/advisories/GHSL-2024-035_GHSL-2024-036_casdoor/X Refsource CONFIRMExploitThird Party Advisory
- github.com/casdoor/casdoorPACKAGE