Medium

silverstripe/framework ChangePasswordForm does not check `Member::canLogIn()`

  • Disclosed: 27.05.2024
  • Updated: 11.10.2026 10:22

After performing a password reset, ChangePasswordForm::doChangePassword() logs in the user without checking Member::canLogIn(). This presents an issue for sites that are using the extension point in that method to deny access to users (for example members that have not been “approved”, or members that have had their access revoked temporarily). It looks like Member::canLogIn() was originally designed to only be used for checking whether the user is locked out (due to too many incorrect login attempts) but has been opened up to other uses.

Affected software

Click a technology to see all vulnerabilities affecting it.

PlatformPackageVulnerable versionsFixed in
Composer package silverstripe/framework >= 3.1.19-rc1, < 3.1.20, >= 3.2.4-rc1, < 3.2.5, >= 3.3.2-rc1, < 3.3.3, >= 3.4.0-rc1, < 3.4.1 3.1.20, 3.2.5, 3.3.3, 3.4.1

References

CVSS score 4.3/10
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N
Weakness (CWE)
CWE-287
Platform
Composer
Package
silverstripe/framework
Disclosed
27.05.2024
Updated
11.10.2026 10:22

Sources and licenses

OSV / GitHub Advisory Database - GHSA-p5h2-vr99-xm99 - CC BY 4.0

Vulnerability history: silverstripe/framework

All published vulnerabilities of this package (Composer package), newest first. Shows whether this is a one-off slip or a package that needs watching.

All (93) in the archive
Total entries
93
First → latest
11.2019 08.2026
Without a fix
1
Exploited in attacks
0

Severity breakdown

  • Critical 3
  • High 13
  • Medium 69
  • Low 8

Disclosures per year

  1. 2019: 5
  2. 2020: 2
  3. 2021: 0
  4. 2022: 23
  5. 2023: 3
  6. 2024: 53
  7. 2025: 6
  8. 2026: 1
Severity:
  1. High · 8.8 ghsa-265q-222x-52m6 >= 4.0.0-rc1, < 4.0.6, >= 4.1.0-rc1, < 4.1.4, >= 4.2.0-rc1, < 4.2.3 4.0.6, 4.1.4, 4.2.3
  2. High · 7.5 ghsa-cwgq-83w5-8jfq >= 4.0.0-rc1, < 4.0.5, >= 4.1.0-rc1, < 4.1.3, >= 4.2.0-rc1, < 4.2.2 4.0.5, 4.1.3, 4.2.2
  3. High · 8.8 ghsa-vcg6-8fxc-x5cq >= 3.6.5-rc1, < 3.6.6, >= 4.0.3-rc1, < 4.0.4, >= 4.1.0-rc1, < 4.1.1 3.6.6, 4.0.4, 4.1.1
  4. High · 7.5 ghsa-vgxh-x8jv-hmff >= 4.0.3-rc1, < 4.0.4, >= 4.1.0-rc1, < 4.1.1 4.0.4, 4.1.1
  5. High · 7.5 ghsa-m5q3-mvcr-gc5m >= 4.0.0-rc1, < 4.0.4, >= 4.1.0-rc1, < 4.1.1 4.0.4, 4.1.1
  6. High · 8.8 ghsa-xx4r-5265-48j6 >= 3.5.0-rc1, < 3.5.6, >= 3.6.0-rc1, < 3.6.3, >= 4.0.0-rc1, < 4.0.1 3.5.6, 3.6.3, 4.0.1
  7. High · 8.0 ghsa-mqjc-x563-c9q8 >= 3.5.0-rc1, < 3.5.6, >= 3.6.0-rc1, < 3.6.3, >= 4.0.0-rc1, < 4.0.1 3.5.6, 3.6.3, 4.0.1
  8. High ghsa-7m2v-x7rg-5hm5 >= 3.5.0-rc1, < 3.5.5, >= 3.6.0-rc1, < 3.6.2 3.5.5, 3.6.2
  9. High · 7.5 ghsa-4qx8-j9vh-2628 >= 3.5.0-rc1, < 3.5.6, >= 3.6.0-rc1, < 3.6.3 3.5.6, 3.6.3
  10. silverstripe/framework ChangePasswordForm does not check `Member::canLogIn()` this entry
    Medium · 4.3 ghsa-p5h2-vr99-xm99 >= 3.1.19-rc1, < 3.1.20, >= 3.2.4-rc1, < 3.2.5, >= 3.3.2-rc1, < 3.3.3, >= 3.4.0-rc1, < 3.4.1 3.1.20, 3.2.5, 3.3.3, 3.4.1
  11. Critical · 9.1 ghsa-8v6m-7f5v-hhx6 >= 3.1.18, < 3.1.19, >= 3.2.3, < 3.2.4, >= 3.3.1, < 3.3.2 3.1.19, 3.2.4, 3.3.2
  12. High · 7.2 ghsa-25gq-jvx2-vg9x >= 3.1.0, < 3.1.13 3.1.13
  13. High · 8.8 CVE-2022-38148 >= 4.0.0, < 4.10.11, >= 4.11.0, < 4.11.14 4.10.11, 4.11.14
  14. High · 7.5 CVE-2020-6164 >= 4.0.0, < 4.4.7, >= 4.5.0, < 4.5.4 4.4.7, 4.5.4
  15. High · 7.5 CVE-2020-9280 >= 4.0.0, < 4.4.6 4.4.6
  16. Critical · 9.8 CVE-2019-5715 >= 3.0.0, < 3.6.7, >= 4.0.0, < 4.0.7, >= 3.7.0, < 3.7.3, >= 4.1.0, < 4.1.5, >= 4.2.0, < 4.2.4, >= 4.3.0, < 4.3.1 3.6.7, 4.0.7, 3.7.3, 4.1.5, 4.2.4, 4.3.1
  17. Critical · 9.8 CVE-2019-12204 >= 4.1.0, < 4.3.5 4.3.5

Know which vulnerabilities affect your application

With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.

Connect your application
DockRay newsletter

Application security in your inbox

Important vulnerabilities, actionable guidance and practical advice for your applications. Choose your technologies and follow what matters to your project.

  • A daily digest of new vulnerabilities, critical ones included.
  • Notifications about important updates.
  • Practical advice on application security and monitoring.

Leave empty to receive updates for every technology.

Free to subscribe. Unsubscribe with one click in any email.