The flaw is in the Content Manager WYSIWYG preview component. Attacker-controlled rich text passes through markdown-it with html: true, so raw HTML is preserved, and then through sanitize-html with allowedTags: false, a configuration that permits all HTML tags, including <script>. The result is inserted into the DOM with dangerouslySetInnerHTML, while rich-text content is stored verbatim and returned when fetched.
The attack requires a user with Author or equivalent write access to a rich-text field and an Editor or Super Admin who expands the preview for that content. When the preview is opened in the privileged user's browser, the stored script can execute in that administrative session. The inspected implementation detail reflects the WYSIWYG component identified by the technical source; the record does not establish that every implementation variant across every affected branch has identical code.