Advisory

GHSA-x8xm-c7p8-2pj2

Also known as: CVE-2025-25197

Summary

Silverstripe cross-site scripting (XSS) attack in elemental "Content blocks in use" report

Details

An elemental block can include an XSS payload, which can be executed when viewing the "Content blocks in use" report.

The vulnerability is specific to that report and is a result of failure to cast input prior to including it in the grid field.

References

  • https://www.silverstripe.org/download/security-releases/CVE-2025-25197

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2025-04-10 13:38 UTC
Modified
2025-04-10 23:14 UTC

Affected packages and fixes

dnadesign/silverstripe-elemental

Packagist · All systems

Affected

  • introduced 2.1.2, fixed 5.3.12 (ecosystem)

Fixed versions

5.3.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