{"cve":"CVE-2024-41658","nvd":{"published":"2024-08-20T21:15:13.910","modified":"2026-06-17T07:47:59.957","status":"Analyzed","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_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1},"cwes":["CWE-79"],"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/"],"products":["casbin:casdoor"],"source":"nvd","synced_at":"2026-10-19T21:54:16.205165117+00:00"},"epss":{"cve":"CVE-2024-41658","score":0.00448,"percentile":0.38974,"date":"2026-11-01"},"kev":null,"osv":[{"id":"GHSA-gv2p-4mvg-g32h","url":"https://osv.dev/vulnerability/GHSA-gv2p-4mvg-g32h","summary":"Casdoor has reflected XSS in QrCodePage.js (GHSL-2024-036)","modified":"2024-08-30T17:42:23.573394Z","packages":[{"ecosystem":"Go","name":"github.com/casdoor/casdoor","purl":"pkg:golang/github.com/casdoor/casdoor","ranges":["<=1.577.0"],"fixed":[]}]},{"id":"GO-2024-3086","url":"https://osv.dev/vulnerability/GO-2024-3086","summary":"Casdoor has reflected XSS in QrCodePage.js (GHSL-2024-036) in github.com/casdoor/casdoor","modified":"2026-03-03T04:52:01.951104Z","packages":[{"ecosystem":"Go","name":"github.com/casdoor/casdoor","purl":"pkg:golang/github.com/casdoor/casdoor","ranges":["all versions"],"fixed":[]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}