Skip to content

Stored XSS by authenticated backend user with access to markdown fields

Low
LukeTowers published GHSA-w4pj-7p68-3vgv Jun 2, 2020

Package

composer october/backend, rainlab/blog-plugin (Composer)

Affected versions

>= 1.0.319, < 1.0.466

Patched versions

1.0.466

Description

Impact

A user with access to a markdown FormWidget that stores data persistently could create a stored XSS attack against themselves and any other users with access to the generated HTML from the field.

Patches

Issue has been patched in Build 466 (v1.0.466) & RainLab.Blog v1.4.1 by restricting the ability to store JS in markdown to only users that have been explicitly granted the backend.allow_unsafe_markdown permission.

Workarounds

Apply 9ecfb48 & rainlab/blog-plugin@6ae19a6 to your installation manually if unable to upgrade to Build 466 or v1.4.1 of RainLab.Blog (if using that plugin).

References

Reported by Sivanesh Ashok

For more information

If you have any questions or comments about this advisory:

Threat assessment:

Screen Shot 2020-03-31 at 2 01 52 PM

Severity

Low

CVE ID

CVE-2020-11083

Weaknesses

No CWEs

Credits