ADVISORIES

GitHub Advisory Database

GHSA-9cx2-hj6m-fv58

Silverstripe XSS in shortcodes

Moderate CVE-2022-38724

Details

A malicious content author could add arbitrary attributes to HTML editor shortcodes which could be used to inject a JavaScript payload on the front end of the site. The shortcode providers that ship with Silverstripe CMS have been reviewed and attribute whitelists have been implemented where appropriate to negate this risk.

Affected packages

EcosystemPackageAffected versions
Packagistsilverstripe/assets
From 1.0.0 before 1.11.1 (fixed in 1.11.1)
Packagistsilverstripe/framework
From 4.0.0 before 4.11.13 (fixed in 4.11.13)

References