Advisory

GHSA-vvxf-r4vm-2vm6

Also known as: CVE-2022-38462

Summary

Reflected XSS in querystring parameters

Details

An attacker could inject a XSS payload in a Silverstripe CMS response by carefully crafting a return URL on a /dev/build or /Security/login request.

To exploit this vulnerability, an attacker would need to convince a user to follow a link with a malicious payload.

This will only affect projects configured to output PHP warnings to the browser. By default, Silverstripe CMS will only output PHP warnings if your SS_ENVIRONMENT_TYPE environment variable is set to dev. Production sites should always set SS_ENVIRONMENT_TYPE to live.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2022-11-21 23:59 UTC
Modified
2025-04-29 13:21 UTC

Affected packages and fixes

silverstripe/framework

Packagist · All systems

Affected

  • introduced 4.0.0, fixed 4.11.13 (ecosystem)

Fixed versions

4.11.13

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