JavaScriptSeverity: MediumStatus: Published

Deprecated characterLimit template writes data-overflow-msg as unescaped HTML (DOM XSS)

When the deprecated codeInput.templates.characterLimit (character_limit) template is used with a user-provided data-overflow-msg, that value 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-characterlimit-overflow-msg-dom-xss

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