# GHSA-mpqj-f4v3-334h: Silverstripe Cross-site scripting vulnerability in VersionedRequestFilter

- Severity: Medium 6.1 (CVSS:3.1, scored by GitHub) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2024-05-23T19:46:36.000Z
- Modified: 2024-11-28T05:36:13.646Z
- Weaknesses: CWE-79

## Description

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.

(As written by GitHub Advisory Database.)

## Affected

- silverstripe/framework (Packagist): from 3.3.2 before 3.3.3; from 3.4.0 before 3.4.1

## References

- <https://github.com/silverstripe/silverstripe-framework/commit/3fa84cf0c64a539d78600c36364817a8e38411d8> (web)
- <https://github.com/silverstripe/silverstripe-framework/commit/41be95c95a55031412ee4056aeee5c2c69595836> (web)
- <https://github.com/FriendsOfPHP/security-advisories/blob/master/silverstripe/framework/SS-2016-007-1.yaml> (web)
- <https://github.com/silverstripe/silverstripe-framework> (package)
- <https://www.silverstripe.org/download/security-releases/ss-2016-007> (web)

## Sources

- GitHub Advisory Database: [GHSA-mpqj-f4v3-334h](https://github.com/advisories/GHSA-mpqj-f4v3-334h), CC-BY-4.0, modified 2024-11-28

---

Page: https://cve.day/GHSA-mpqj-f4v3-334h · Whole record: https://cve.day/GHSA-mpqj-f4v3-334h.json · Rebuilt by cve.day 2026-11-25T22:56:32.604Z
