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

- Severity: Medium 5.4 (CVSS:3.1, scored by GitHub) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2024-05-23T19:41:41.000Z
- Modified: 2024-11-28T05:31:51.042Z
- Weaknesses: CWE-352

## Description

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

(As written by GitHub Advisory Database.)

## Affected

- silverstripe/framework (Packagist): from 3.1.18 before 3.1.19; from 3.2.3 before 3.2.4; from 3.3.1 before 3.3.2

## References

- <https://github.com/silverstripe/silverstripe-framework/commit/a6bd22ab2f3b11a054d20be13306a19089510989> (web)
- <https://github.com/FriendsOfPHP/security-advisories/blob/master/silverstripe/framework/SS-2016-006-1.yaml> (web)
- <https://github.com/silverstripe/silverstripe-framework> (package)
- <https://stackoverflow.com/questions/6412813/do-login-forms-need-tokens-against-csrf-attacks/15350123#15350123> (web)
- <https://www.silverstripe.org/download/security-releases/ss-2016-006> (web)

## Sources

- GitHub Advisory Database: [GHSA-vj2j-6g3w-4662](https://github.com/advisories/GHSA-vj2j-6g3w-4662), CC-BY-4.0, modified 2024-11-28

---

Page: https://cve.day/GHSA-vj2j-6g3w-4662 · Whole record: https://cve.day/GHSA-vj2j-6g3w-4662.json · Rebuilt by cve.day 2026-11-25T22:56:33.115Z
