BomboBombone.exe
ARCHITECTURE:x86-64
BACK
.WEB.XSSXenForo / XSS
08 Sept 2026 · 3 min
XenForo / XSS · 08 Sept 2026

CVE-2026-73319: JavaScript URI in dynamic redirects

A JavaScript URI passed same-host validation and executed after a confirmed redirect.

POST VIEWTEXT / UTF-8
ADDRESS MARKDOWN BYTES

XenForo 2.3.12 build 2031270 accepted a javascript: URI as a same-host redirect target. A logged-in user who opened an attacker-prepared Follow confirmation link and confirmed the action executed JavaScript in the XenForo origin.

Technical details

The redirect validator used PHP’s URL parser to compare the supplied host with the board host but did not restrict the URI scheme. The following payload passed that check:

javascript://board.example/%0Awindow.name='marker';void 0

PHP parsed board.example as the host, so XenForo’s same-host check accepted it. The browser treated everything after // as a JavaScript comment. %0A ended the comment, and the remaining code ran when XenForo assigned the value to window.location.

Reproduction

  1. Serve a Follow confirmation URL whose return target contains the payload above.
  2. Open the link in a browser with an authenticated XenForo session.
  3. Confirm the Follow action.
  4. The browser executes the JavaScript in the XenForo origin as it follows the redirect.

Impact

An attacker could execute JavaScript in the context of a logged-in XenForo user who opened the prepared link and confirmed the action. The payload ran with the user’s access to the board origin.

XenForo limited the accepted schemes in 2.3.13.

References

1670 UTF-8 BYTES .WEB.XSS · ADDRESSES ARE UTF-8 BYTE OFFSETS

Resize column

Choose a width with the slider or the narrower and wider buttons.