Cross-site scripting in SilverStripe Framework - #VU159827
Published: January 14, 2025 / Updated: November 6, 2026
Vulnerability details
The vulnerability allows an unauthenticated remote attacker to execute JavaScript in a victim's browser through reflected cross-site scripting.
The vulnerability exists due to insufficient escaping of URL content in SilverStripe Framework error messages when the site is configured to use the non-default dev environment mode. An unauthenticated remote attacker can craft a URL containing a script payload and persuade a victim to visit it, triggering execution.