{"cve":"CVE-2024-41657","nvd":{"published":"2024-08-20T21:15:13.687","modified":"2026-06-17T07:47:59.843","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, a logic vulnerability exists in the beego filter CorsFilter that allows any website to make cross domain requests to Casdoor as the logged in user. Due to the a logic error in checking only for a prefix when authenticating the Origin header, any domain can create a valid subdomain with a valid subdomain prefix (Ex: localhost.example.com), allowing the website to make requests to Casdoor as the current signed-in user.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":8.8},"cwes":["CWE-697","CWE-942"],"references":["https://github.com/casdoor/casdoor/blob/v1.577.0/routers/cors_filter.go#L45","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-41657","score":0.008,"percentile":0.566,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-mchx-7j67-8mcf","url":"https://osv.dev/vulnerability/GHSA-mchx-7j67-8mcf","summary":"Casdoor CORS misconfiguration (GHSL-2024-035)","modified":"2024-08-30T17:42:26.105969Z","packages":[{"ecosystem":"Go","name":"github.com/casdoor/casdoor","purl":"pkg:golang/github.com/casdoor/casdoor","ranges":["<=1.557.0"],"fixed":[]}]},{"id":"GO-2024-3087","url":"https://osv.dev/vulnerability/GO-2024-3087","summary":"Casdoor CORS misconfiguration (GHSL-2024-035) in github.com/casdoor/casdoor","modified":"2026-03-03T04:55:44.239978Z","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."]}