Since this is already a public security advisory and a jQuery vulnerability, I am posting it as a public issue.
Summary:
CVE-2020-11022
In jQuery versions greater than or equal to 1.2 and before 3.5.0, passing HTML from untrusted sources - even after sanitizing it - to one of jQuery's DOM manipulation methods (i.e. .html(), .append(), and others) may execute untrusted code. This problem is patched in jQuery 3.5.0
Problem:
The current stable version of OctoberCMS uses jQuery 3.4.0 which is vulnerable.
Solution:
The code-base should either be updated to support jQuery 3.5.0 or higher, or jQuery.htmlPrefilter should be overridden as a workaround - discussed here:
jQuery GitHub security advisory
From link above - workaround:
jQuery.htmlPrefilter = function( html ) { return html; };
Since this is already a public security advisory and a jQuery vulnerability, I am posting it as a public issue.
Summary:
CVE-2020-11022
In jQuery versions greater than or equal to 1.2 and before 3.5.0, passing HTML from untrusted sources - even after sanitizing it - to one of jQuery's DOM manipulation methods (i.e. .html(), .append(), and others) may execute untrusted code. This problem is patched in jQuery 3.5.0
Problem:
The current stable version of OctoberCMS uses jQuery 3.4.0 which is vulnerable.
Solution:
The code-base should either be updated to support jQuery 3.5.0 or higher, or jQuery.htmlPrefilter should be overridden as a workaround - discussed here:
jQuery GitHub security advisory
From link above - workaround:
jQuery.htmlPrefilter = function( html ) { return html; };