GitHub Advisoryadvisory · Packagist

GHSA-w4pj-7p68-3vgv Stored XSS in October

LOW Published 2020-08-05 Modified 2023-01-31 Official page ↗
Aliases
CVE-2020-11083
Ecosystem
Packagist
Packages
october/backend
Severity
Low
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:L/I:L/A:N
Weaknesses
CWE-79
Reviewed
2020-07-28

Affected packages

• Packagist october/backend: >= 1.0.319, < 1.0.466 → fixed in 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 https://github.com/octobercms/october/commit/9ecfb4867baae14a0d3f99f5b5c1e8a979ae8746 & https://github.com/rainlab/blog-plugin/commit/6ae19a6e16ef3ba730692bc899851342c858bb94 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: • Email us at [email protected] Threat assessment:

Related

Alias · CVE (1)

  • CVE-2020-11083 In October from version 1.0.319 and before version 1.0.466, a user with access to a markdown FormWidget that stores data persistently could… vulnerability

Weakness · CWE (1)

  • CWE-79 Improper Neutralization of Input During Web Page Generation weakness

References