Advisory

GHSA-chx7-9x8h-r5mg

Also known as: CVE-2024-32981

Summary

Silverstripe Framework has a Cross-site Scripting vulnerability with encoded payload

Details

Impact
A bad actor with access to edit content in the CMS could send a specifically crafted encoded payload to the server, which could be used to inject a JavaScript payload on the front end of the site. The payload would be sanitised on the client-side, but server-side sanitisation doesn't catch it.

The server-side sanitisation logic has been updated to sanitise against this type of attack.

References

  • https://www.silverstripe.org/download/security-releases/cve-2024-32981

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2024-07-17 14:27 UTC
Modified
2026-09-10 03:50 UTC

Affected packages and fixes

silverstripe/framework

Packagist · All systems

Affected

  • introduced 0, fixed 5.2.16 (ecosystem)

Fixed versions

5.2.16

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