GHSA-mpqj-f4v3-334h

Suggest an improvement
Source
https://github.com/advisories/GHSA-mpqj-f4v3-334h
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/05/GHSA-mpqj-f4v3-334h/GHSA-mpqj-f4v3-334h.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-mpqj-f4v3-334h
Published
2024-05-23T19:46:36Z
Modified
2024-05-23T20:04:55.005061Z
Severity
  • 6.1 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N CVSS Calculator
Summary
Silverstripe Cross-site scripting vulnerability in VersionedRequestFilter
Details

A cross-site scripting vulnerability in VersionedRequestFilter has been found.

If an incoming user request should not be able to access the requested stage, an error message is created for display on the CMS login page that they are redirected to. In this error message, the URL of the requested page is interpolated into the error message without being escaped; hence, arbitrary HTML can be injected into the CMS login page.

References

Affected packages

Packagist / silverstripe/framework

Package

Name
silverstripe/framework
Purl
pkg:composer/silverstripe/framework

Affected ranges

Type
ECOSYSTEM
Events
Introduced
3.3.2
Fixed
3.3.3

Affected versions

3.*

3.3.2
3.3.3-rc1
3.3.3-rc2

Packagist / silverstripe/framework

Package

Name
silverstripe/framework
Purl
pkg:composer/silverstripe/framework

Affected ranges

Type
ECOSYSTEM
Events
Introduced
3.4.0
Fixed
3.4.1

Affected versions

3.*

3.4.0
3.4.1-rc1
3.4.1-rc2