Stored Cross-Site Scripting occurs due to insufficient input sanitization and output escaping on user-supplied attributes. Authenticated attackers with Contributor-level access and above can inject arbitrary web scripts into pages via the `images` parameter of the `bt bb css image grid` shortcode. These scripts execute whenever a user accesses the affected page.