GHSA-vh7q-j8p5-2h4h silverstripe/framework sends passwords back to browsers under some circumstances

Not scored Published

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.

PackageAffectedFixed in
silverstripe/framework PackagistFrom 3.5.5-rc13.7.0
silverstripe/framework PackagistFrom 3.5.5-rc13.7.0
silverstripe/framework PackagistFrom 4.0.3-rc14.0.4
silverstripe/framework PackagistFrom 4.0.3-rc14.0.4
silverstripe/framework PackagistFrom 4.1.0-rc14.1.1
silverstripe/framework PackagistFrom 4.1.0-rc14.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.

Sources

Is GHSA-vh7q-j8p5-2h4h in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free