Advisory

GHSA-6hh6-59j2-qrxw

Also known as: None

Summary

Silverstripe History XSS Vulnerability

Details

A cross-site scripting vulnerability has been discovered in the CMS page history tab.

This vulnerability can only be exploited if a user with CMS access has posted malicious or unescaped HTML into any of the text fields on a page, and if the "compare mode" option is selected. The HTML will be embedded into the page unescaped.

This has been resolved by performing the text comparison in a HTML friendly way.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2024-05-22 18:25 UTC
Modified
2024-12-07 05:40 UTC

Affected packages and fixes

silverstripe/cms

Packagist · All systems

Affected

  • introduced 3.1.0, fixed 3.1.10 (ecosystem)

Fixed versions

3.1.10

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