GHSA-vh7q-j8p5-2h4h silverstripe/framework sends passwords back to browsers under some circumstances
Not scored
Published
Check this codebase for GHSA-vh7q-j8p5-2h4h and fix it if it is affected.
What it is: GHSA-vh7q-j8p5-2h4h is a vulnerability in silverstripe/framework, published on 27 May 2024. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Exploitation: There is no known exploitation of GHSA-vh7q-j8p5-2h4h in the wild and no public exploit code.
Affected packages and fixed versions:
- silverstripe/framework (Packagist): affected from 3.5.5-rc1; fixed in 3.7.0
- silverstripe/framework (Packagist): affected from 3.5.5-rc1; fixed in 3.7.0
- silverstripe/framework (Packagist): affected from 4.0.3-rc1; fixed in 4.0.4
- silverstripe/framework (Packagist): affected from 4.0.3-rc1; fixed in 4.0.4
- silverstripe/framework (Packagist): affected from 4.1.0-rc1; fixed in 4.1.1
- silverstripe/framework (Packagist): affected from 4.1.0-rc1; fixed in 4.1.1
Task:
1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.
2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.
Reference: https://insights.sbomify.com/GHSA-vh7q-j8p5-2h4h/ (Markdown: https://insights.sbomify.com/GHSA-vh7q-j8p5-2h4h/index.md)
SilverStripe framework may reflect submitted password data back to the user in form fields, violating security best practices for sensitive data handling.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is GHSA-vh7q-j8p5-2h4h?
GHSA-vh7q-j8p5-2h4h is a vulnerability in silverstripe/framework, published on 27 May 2024. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
Under some circumstances a form may populate a PasswordField with submitted data, reflecting submitted data back to a user. The user will only see their own submissions for password data, which is not considered best practice. We are not aware of data leaks to other users, devices or sessions.
Which versions are affected by GHSA-vh7q-j8p5-2h4h?
6 open source packages ship an affected version, including silverstripe/framework.
| Package | Affected | Fixed in |
|---|---|---|
silverstripe/framework Packagist | From 3.5.5-rc1 | 3.7.0 |
silverstripe/framework Packagist | From 3.5.5-rc1 | 3.7.0 |
silverstripe/framework Packagist | From 4.0.3-rc1 | 4.0.4 |
silverstripe/framework Packagist | From 4.0.3-rc1 | 4.0.4 |
silverstripe/framework Packagist | From 4.1.0-rc1 | 4.1.1 |
silverstripe/framework Packagist | From 4.1.0-rc1 | 4.1.1 |
How do I fix GHSA-vh7q-j8p5-2h4h?
Upgrade silverstripe/framework to a fixed version for your release line: 3.7.0, 4.0.4 or 4.1.1.
Is GHSA-vh7q-j8p5-2h4h being exploited?
There is no known exploitation of GHSA-vh7q-j8p5-2h4h in the wild and no public exploit code.