{"id":"CVE-2025-14546","published":"2025-12-19T05:00:02Z","modified":"2025-12-19T15:39:15Z","title":"Versions of the package fastapi-sso before 0.19.0 are vulnerable to Cross-site Request Forgery (CSRF) due to the…","vendor":null,"product":null,"tier":"tail","description":{"text":"Versions of the package fastapi-sso before 0.19.0 are vulnerable to Cross-site Request Forgery (CSRF) due to the improper validation of the OAuth state parameter during the authentication callback. While the get_login_url method allows for state generation, it does not persist the state or bind it to the user's session. Consequently, the verify_and_process method accepts the state received in the query parameters without verifying it against a trusted local value. This allows a remote attacker to trick a victim into visiting a malicious callback URL, which can result in the attacker's account being linked to the victim's internal account.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.3,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:L/A:N/E:P","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00381,"percentile":0.3299,"provenance":"source"},"cwes":[{"id":"CWE-285","name":"Improper Authorization"}],"references":[{"url":"https://security.snyk.io/vuln/SNYK-PYTHON-FASTAPISSO-14386403","tags":[]},{"url":"https://github.com/tomasvotava/fastapi-sso/commit/6117d1a5ad498ba57d671e8a059ebe20db5abe02","tags":[]},{"url":"https://github.com/tomasvotava/fastapi-sso/issues/266","tags":[]}],"priority":{"score":11.0,"factors":[{"name":"EPSS percentile","points":6.6},{"name":"CVSS severity","points":4.41}]},"affectedVersions":[{"vendor":"n/a","product":"fastapi-sso","versions":["< 0.19.0"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2025-12-19T15:39:06.032911Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"fastapi-sso","vulnerableRanges":["<0.19.0"],"patched":["0.19.0"],"from":["GHSA-hp6r-r9vc-q8wx","PYSEC-2026-1362"],"provenance":"source"}],"summary":{"text":"The flaw is in the fastapi-sso Python package (versions before 0.19.0), where the OAuth state parameter is not validated during the authentication callback, so requests are not protected against cross-site request forgery. An attacker who gets a victim to visit a crafted callback URL, and who can reach the application remotely with user interaction required, can cause the attacker's external account to be linked to the victim's internal account.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:01:29Z"},"euvd":{"id":"EUVD-2025-204438","exploited":false,"provenance":"source"}}