CVE-2024-41658
CVE-2024-41658 is a medium-severity vulnerability in Casbin Casdoor with a CVSS 3.x base score of 6.1. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-79.
Key facts
- Severity: Medium (CVSS 3.x base score 6.1)
- EPSS exploit prediction: 0% (34th percentile)
- Actively exploited: Not listed in CISA KEV
- EU (EUVD) id: EUVD-2024-2586
- Weakness: CWE-79
- Affected product: Casbin Casdoor
- Published:
- Last modified:
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.
Frequently asked questions
- What is CVE-2024-41658?
- 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.
- How severe is CVE-2024-41658?
- CVE-2024-41658 has a CVSS 3.x base score of 6.1, rated medium severity. It is exploitable over network with low attack complexity, requires no privileges and user interaction. Impact on confidentiality is low, integrity low, and availability none.
- Is CVE-2024-41658 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 0% (34th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2024-41658?
- CVE-2024-41658 affects Casbin Casdoor. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2024-41658?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
- Does CVE-2024-41658 have an EU (EUVD) identifier?
- Yes. CVE-2024-41658 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2024-2586.
- When was CVE-2024-41658 published?
- CVE-2024-41658 was published on 2024-08-20 and last updated on 2026-06-17.
References
- https://github.com/casdoor/casdoor/blob/v1.577.0/web/src/QrCodePage.js
- https://securitylab.github.com/advisories/GHSL-2024-035_GHSL-2024-036_casdoor/
Affected products (1)
- cpe:2.3:a:casbin:casdoor:*:*:*:*:*:*:*:*
More vulnerabilities in Casbin Casdoor
- CVE-2022-38638 — Critical (CVSS 9.1): Casdoor v1.97.3 was discovered to contain an arbitrary file write vulnerability via the fullFilePath parameter at…
- CVE-2024-41657 — High (CVSS 8.1): Casdoor is a UI-first Identity and Access Management (IAM) / Single-Sign-On (SSO) platform. In Casdoor 1.577.0 and…
- CVE-2022-44942 — High (CVSS 8.1): Casdoor before v1.126.1 was discovered to contain an arbitrary file deletion vulnerability via the uploadFile function.
- CVE-2024-41264 — High (CVSS 7.5): An issue discovered in casdoor v1.636.0 allows attackers to obtain sensitive information via the…
- CVE-2022-24124 — High (CVSS 7.5): The query API in Casdoor before 1.13.1 has a SQL injection vulnerability related to the field and value parameters, as…
- CVE-2023-34927 — Medium (CVSS 6.5): Casdoor v1.331.0 and below was discovered to contain a Cross-Site Request Forgery (CSRF) in the endpoint…
All CVEs affecting Casbin Casdoor →
Other CWE-79 (Cross-site Scripting (XSS)) vulnerabilities
- CVE-2025-49410 — Critical (CVSS 10.0): Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in Imran Emu TC…
- CVE-2024-47875 — Critical (CVSS 10.0): DOMPurify is a DOM-only, super-fast, uber-tolerant XSS sanitizer for HTML, MathML and SVG. DOMpurify was vulnerable to…
- CVE-2024-6886 — Critical (CVSS 10.0): Improper Neutralization of Input During Web Page Generation (XSS or 'Cross-site Scripting') vulnerability in Gitea…
- CVE-2023-45144 — Critical (CVSS 10.0): com.xwiki.identity-oauth:identity-oauth-ui is a package to aid in building identity and service providers based on…
- CVE-2023-45138 — Critical (CVSS 10.0): Change Request is an pplication allowing users to request changes on a wiki without publishing the changes directly.…
- CVE-2022-4361 — Critical (CVSS 10.0): Keycloak, an open-source identity and access management solution, has a cross-site scripting (XSS) vulnerability in the…
Browse all CWE-79 (Cross-site Scripting (XSS)) vulnerabilities →