Advisory

GHSA-jqp8-v74p-g8px

Also known as: None

Summary

Silverstripe XSS in Director::force_redirect()

Details

A low level XSS vulnerability has been found in the Framework affecting http redirection via the Director::force_redirect method.

Attempts to redirect to a url may generate HTML which is not safely escaped, and may pose a risk of XSS in some environments.

This vulnerability is marked low as it is difficult to exploit, as any injected HTML will only be returned from the server if the Location HTTP header is also sent, meaning that any user browsing the site would not be exposed to the body of the response before their browser redirects them.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2024-05-23 16:48 UTC
Modified
2024-11-28 05:41 UTC

Affected packages and fixes

silverstripe/framework

Packagist · All systems

Affected

  • introduced 3.1.0, fixed 3.1.12 (ecosystem)

Fixed versions

3.1.12

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences