Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. silverstripe/framework
  4. ›
  5. GHSA-vj2j-6g3w-4662

GHSA-vj2j-6g3w-4662: Silverstripe Missing CSRF protection in login form

May 23, 2024

LoginForm calls disableSecurityToken(), which causes a “shared host domain” vulnerability: http://stackoverflow.com/a/15350123.

References

  • github.com/FriendsOfPHP/security-advisories/blob/master/silverstripe/framework/SS-2016-006-1.yaml
  • github.com/advisories/GHSA-vj2j-6g3w-4662
  • github.com/silverstripe/silverstripe-framework
  • github.com/silverstripe/silverstripe-framework/commit/a6bd22ab2f3b11a054d20be13306a19089510989
  • stackoverflow.com/questions/6412813/do-login-forms-need-tokens-against-csrf-attacks/15350123
  • www.silverstripe.org/download/security-releases/ss-2016-006

Code Behaviors & Features

Detect and mitigate GHSA-vj2j-6g3w-4662 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 3.1.18 before 3.1.19, all versions starting from 3.2.3 before 3.2.4, all versions starting from 3.3.1 before 3.3.2

Fixed versions

  • 3.1.19
  • 3.2.4
  • 3.3.2

Solution

Upgrade to versions 3.1.19, 3.2.4, 3.3.2 or above.

Impact 5.4 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-352: Cross-Site Request Forgery (CSRF)

Source file

packagist/silverstripe/framework/GHSA-vj2j-6g3w-4662.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:44 +0000.