Intel

AIKIDO-2025-10305

strapi-plugin-sso is vulnerable to Cross-Site Request Forgery (CSRF)

Cross-Site Request Forgery (CSRF) Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published May 13, 2025

55

Medium Risk

This Affects:

JSstrapi-plugin-sso
0.3.1 - 0.4.6
Fixed in 0.4.7
1.0.0 - 1.0.5
Fixed in 1.0.6
Are you affected? Scan for Free

TL;DR

Affected versions of this package are vulnerable to Cross-Site Request Forgery (CSRF) due to missing validation of the state parameter in OAuth 2.0 authorization flows. An attacker could exploit a lack of a securely generated state parameter in an OAuth login by tricking a victim into initiating the process and then intercepting the callback. It could allow the attacker to hijack the session or force unintended authentication, enabling the submission of malicious authorization codes or redirect URIs to compromise user accounts.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Background info

strapi-plugin-sso is vulnerable to Cross-Site Request Forgery (CSRF) in versions 0.3.1 - 0.4.6 and 1.0.0 - 1.0.5.

How to fix this

Upgrade the strapi-plugin-sso library to the patch version.