GHSA-c4c3-j73v-634r silverstripe/framework has Cross-site Scripting vulnerability in page history comparison

Not scored Published

Authenticated users with edit permissions can inject scripts via page history comparison, potentially executing code in other users' browsers.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is GHSA-c4c3-j73v-634r?

GHSA-c4c3-j73v-634r is a cross-site scripting vulnerability in silverstripe/framework, published on 27 May 2024. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

Official description

Authenticated user with page edit permission can craft HTML, which when rendered in a page history comparison can execute client scripts.

Which versions are affected by GHSA-c4c3-j73v-634r?

4 open source packages ship an affected version, including silverstripe/framework.

PackageAffectedFixed in
silverstripe/framework PackagistFrom 3.4.0-rc13.4.6
silverstripe/framework PackagistFrom 3.4.0-rc13.4.6
silverstripe/framework PackagistFrom 3.5.0-rc13.5.4
silverstripe/framework PackagistFrom 3.5.0-rc13.5.4

How do I fix GHSA-c4c3-j73v-634r?

Upgrade silverstripe/framework to a fixed version for your release line: 3.4.6 or 3.5.4.

Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.

Is GHSA-c4c3-j73v-634r being exploited?

There is no known exploitation of GHSA-c4c3-j73v-634r in the wild and no public exploit code.

Sources

Is GHSA-c4c3-j73v-634r in your software?

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

Check your SBOMs for free