# GHSA-hq4p-5mpr-jj9m: Silverstripe XSS in dev/build returnURL Parameter

- Severity: Medium 4.7 (CVSS:3.1, scored by GitHub) `CVSS:3.1/AV:N/AC:H/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-23T17:15:09.000Z
- Modified: 2024-11-28T05:38:56.555Z
- Weaknesses: CWE-79

## Description

A XSS risk exists in the returnURL parameter passed to dev/build. An unvalidated url could cause the user to redirect to an unverified third party url outside of the site.

This issue is resolved in framework 3.1.14 stable release.

(As written by GitHub Advisory Database.)

## Affected

- silverstripe/framework (Packagist): before 3.1.14

## References

- <https://github.com/silverstripe/silverstripe-framework/commit/751d77386c3c6e354b521fa61ff142f95895cca8> (web)
- <https://github.com/FriendsOfPHP/security-advisories/blob/master/silverstripe/framework/SS-2015-015-1.yaml> (web)
- <https://github.com/silverstripe/silverstripe-framework> (package)
- <https://www.silverstripe.org/software/download/security-releases/ss-2015-015> (web)

## Sources

- GitHub Advisory Database: [GHSA-hq4p-5mpr-jj9m](https://github.com/advisories/GHSA-hq4p-5mpr-jj9m), CC-BY-4.0, modified 2024-11-28

---

Page: https://cve.day/GHSA-hq4p-5mpr-jj9m · Whole record: https://cve.day/GHSA-hq4p-5mpr-jj9m.json · Rebuilt by cve.day 2026-11-25T22:56:32.326Z
