NetSight
medium5.4

CVE-2022-38724

Silverstripe XSS in shortcodes

Impact

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

EcosystemPackageAffectedFixed in
composersilverstripe/assets>= 1.0.0, < 1.11.11.11.1
composersilverstripe/framework>= 4.0.0, < 4.11.134.11.13

Affected products

VendorProductAffected versions
SilverstripeAsset Admin
through 1.11.0
SilverstripeAssets
from 1.0.0 through 1.11.0
SilverstripeFramework
from 4.0.0 through 4.11.0

Weakness classification

References