JavaScriptSeverity: MediumStatus: Published

Deprecated rainbowText template writes color names and delimiters as unescaped HTML (DOM XSS)

When the deprecated codeInput.templates.rainbowText (rainbow_text) template is used with user-provided color names or a user-provided delimiter, that HTML is added to the DOM unescaped and can run script with access to the page. Fixed in 2.10.0 with backports to older lines.

Timeline

  1. Found
  2. Reported via email
  3. Advisory published
  4. Entry last updated

Machine-readable: JSON · Markdown · ID security/javascript/WebCoder49__code-input/2026-11-01-rainbowtext-template-dom-xss

If this work is useful to you, you can support it on Buy Me a Coffee.