{"answers":{"affected":"2 open source packages ship an affected version, including github.com/casdoor/casdoor. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-34927 exists.","fix":"No fix has been published for CVE-2023-34927 yet. Limit exposure of the affected software until one is available.","what":"CVE-2023-34927 is a medium-severity vulnerability in n/a, published on 22 Jun 2023. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2023-34927 and fix it if it is affected.\n\nWhat it is: CVE-2023-34927 is a medium-severity vulnerability in n/a, published on 22 Jun 2023. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-34927 exists.\n\nAffected packages and fixed versions:\n- github.com/casdoor/casdoor (Go): affected all versions up to 1.331.0; no fix listed\n- github.com/casdoor/casdoor (Go): affected all versions up to 1.331.0; no fix listed\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2023-34927/ (Markdown: https://insights.sbomify.com/CVE-2023-34927/index.md)","id":"CVE-2023-34927","markdown":"https://insights.sbomify.com/CVE-2023-34927/index.md","name":"CVE-2023-34927","record":{"aliases":["GHSA-rwcp-qrwg-56cg"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["account_takeover"],"network_reachable":"yes","non_default_config":false,"product_category":"Casdoor identity provider","requires_auth":"none","summary":"Attackers can force victims to change their passwords via crafted URLs, leading to account takeover in Casdoor.","user_interaction":"required","vuln_class":"csrf"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"casdoor","vendor":"casbin"}],"cvss":{"score":6.5,"severity":"medium","source":"nvd","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N","version":"3.1"},"cwes":[{"id":"CWE-352","name":"Cross-Site Request Forgery"}],"description":"Casdoor v1.331.0 and below was discovered to contain a Cross-Site Request Forgery (CSRF) in the endpoint /api/set-password. This vulnerability allows attackers to arbitrarily change the victim user's password via supplying a crafted URL.","ecosystems":["Go"],"exploits":{"exploitdb":3,"first_seen":"2024-04-02","github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[{"date":"2024-04-02","kind":"exploitdb","ref":"51961","stars":null,"title":"Casdoor \u003c v1.331.0 - '/api/set-password' CSRF"},{"date":"2025-09-16","kind":"exploitdb","ref":"52432","stars":null,"title":"Casdoor 2.55.0 - Cross-Site Request Forgery (CSRF)"},{"date":"2025-10-29","kind":"exploitdb","ref":"52439","stars":null,"title":"Casdoor 2.95.0 - Cross-Site Request Forgery (CSRF)"}],"tier":"weaponised"},"has_fix":false,"headline":"Casdoor Cross-Site Request Forgery vulnerability","id":"CVE-2023-34927","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"csrf","year":"2023"},"n_packages":2,"n_references":3,"next":{"headline":"Memory corruption in n/a","id":"CVE-2023-34928"},"packages":[{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":["1.331.0"],"package":"github.com/casdoor/casdoor","purl":null,"source":"GHSA-rwcp-qrwg-56cg"},{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":["1.331.0"],"package":"github.com/casdoor/casdoor","purl":"pkg:golang/github.com/casdoor/casdoor","source":"GHSA-rwcp-qrwg-56cg"}],"prev":{"headline":"Memory corruption in n/a","id":"CVE-2023-34924"},"products":["n/a"],"published":"2023-06-22","related":[{"cvss_score":9.1,"headline":"Casdoor arbitrary file write vulnerability","id":"CVE-2022-38638","kev_date_added":null,"published":"2022-09-09"},{"cvss_score":8.1,"headline":"GHSL-2024-035: Casdoor CORS misconfiguration","id":"CVE-2024-41657","kev_date_added":null,"published":"2024-08-20"},{"cvss_score":8.1,"headline":"Casdoor arbitrary file deletion vulnerability via uploadFile function","id":"CVE-2022-44942","kev_date_added":null,"published":"2022-12-07"},{"cvss_score":7.5,"headline":"casdoor's use of`ssh.InsecureIgnoreHostKey()` disables host key verification","id":"CVE-2024-41264","kev_date_added":null,"published":"2024-08-01"},{"cvss_score":7.5,"headline":"SQL Injection in Casdoor","id":"CVE-2022-24124","kev_date_added":null,"published":"2022-01-29"},{"cvss_score":6.1,"headline":"GHSL-2024-036: Reflected XSS in QrCodePage.js","id":"CVE-2024-41658","kev_date_added":null,"published":"2024-08-20"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"attribution","licence":"GPL-2.0-or-later","name":"Exploit-DB"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2024-12-04","vendors":["n/a"]},"summary":"Attackers can force victims to change their passwords via crafted URLs, leading to account takeover in Casdoor.","url":"https://insights.sbomify.com/CVE-2023-34927/"}