← Vulnerability feed

Vulnerability record · CVE-2024-41658 · published 20 August 2024

CVE-2024-41658: Casbin casdoor cross-site scripting vulnerability

Casbin · Casdoor

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.

6.1 CVSS 3.1 Medium EPSS 0.45% · top 63.6% CWE-79 · Cross-site scripting
6.1CVSS 3.1 base score
0.45%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
2References, 1 tagged exploit
17 Jun 2026Last modified by NVD

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:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Affected products

1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2024-41658 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

9.1CVE-2022-38638Casbin casdoor path traversal vulnerabilityCasdoor v1.97.3 was discovered to contain an arbitrary file write vulnerability via the fullFilePath parameter at /api/upload-resource.EPSS 1.2%8.8CVE-2024-41657Casbin casdoor vulnerabilityCasdoor is a UI-first Identity and Access Management (IAM) / Single-Sign-On (SSO) platform. In Casdoor 1.577.0 and earlier, a logic vulnerability exi…EPSS 0.79%8.1CVE-2022-44942Casbin casdoor path traversal vulnerabilityCasdoor before v1.126.1 was discovered to contain an arbitrary file deletion vulnerability via the uploadFile function.EPSS 0.87%7.5CVE-2024-41264Casbin casdoor improper certificate validation vulnerabilityAn issue discovered in casdoor v1.636.0 allows attackers to obtain sensitive information via the ssh.InsecureIgnoreHostKey() method.EPSS 0.46%7.5CVE-2022-24124Casdoor query API SQL injection via field and value parametersCasdoor before 1.13.1 contains a SQL injection flaw in its query API, reachable through the field and value parameters as shown by the api/get-organi…EPSS 55%analysed6.5CVE-2023-34927Casbin casdoor cross-site request forgery vulnerabilityCasdoor v1.331.0 and below was discovered to contain a Cross-Site Request Forgery (CSRF) in the endpoint /api/set-password. This vulnerability allows…EPSS 3.1%5.9CVE-2026-6815Casbin casdoor path traversal vulnerabilityAn arbitrary file write vulnerability exists in Casdoor's Local File System storage provider. Due to insufficient path sanitization, an authenticated…EPSS 0.59%5.1CVE-2026-5469Casbin casdoor server-side request forgery (ssrf) vulnerabilityA weakness has been identified in Casdoor 2.356.0. This vulnerability affects unknown code of the component Webhook URL Handler. Executing a manipula…EPSS 0.57%

Source: NIST National Vulnerability Database (record CVE-2024-41658), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.