CVE-2024-41658
mediumpriority · track · 24EPSS 0.004 · 39 %ileEUUSEPSS · scored 2026-10-27
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
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (4)
Products and version ranges known to be affected.
advisories (2)
Vendor and ecosystem advisories describing this.
- GHSA-gv2p-4mvg-g32hCasdoor has reflected XSS in QrCodePage.js (GHSL-2024-036)2024-08-22ghsa · osvUS
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.
- GO-2024-3086Casdoor has reflected XSS in QrCodePage.js (GHSL-2024-036) in github.com/casdoor/casdoor2024-08-30vendor · osvUS
Casdoor has reflected XSS in QrCodePage.js (GHSL-2024-036) in github.com/casdoor/casdoor
also known as (5)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (8)
External citations — patches, advisories, analysis.
- https://casdoor.org/Patchcnnvd
- https://cxsecurity.com/cveshow/CVE-2024-41658/cnnvd
- https://github.com/casdoor/casdoor/blob/v1.577.0/web/src/QrCodePage.jscnnvd
- https://securitylab.github.com/advisories/GHSL-2024-035_GHSL-2024-036_casdoor/cnnvd
- https://github.com/casdoor/casdoor/blob/v1.577.0/web/src/QrCodePage.jsenisa_euvd
- https://securitylab.github.com/advisories/GHSL-2024-035_GHSL-2024-036_casdoor/enisa_euvd
- https://github.com/casdoor/casdoor/blob/v1.577.0/web/src/QrCodePage.jsProductnvd
- https://securitylab.github.com/advisories/GHSL-2024-035_GHSL-2024-036_casdoor/ExploitThird Party Advisorynvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan