Skip to content
XSS Disclosed report Beginner CVE-2026-21664

Reflected XSS in afr.php

The target GET parameter in the afr.php delivery script was output without proper sanitisation, allowing an attacker to craft a URL containing an HTML payload. If a logged-in administrator visits that URL, the payload is sent to the browser and malicious scripts could execute.

nigh7c0r3 Follow

Originally disclosed on HackerOne

Medium 6.1 View original
  • Fixed in 28 days
  • Disclosed after 29 days

Summary by the program

##Security advisory: REVIVE-SA-2026-001

##Description HackerOne community member Huynh Pham Thanh Luc (nigh7c0r3) has reported a reflected XSS vulnerability in the afr.php delivery script of Revive Adserver. An attacker can craft a specific URL that includes an HTML payload in a parameter. If a logged in administrator visits the URL, the HTML is sent to the browser and malicious scripts would be executed.

##Details The target GET parameter sent to the afr.php script was used in the output without proper sanitisation, allowing an attacker to craft specific URLs and have payloads output in the HTML, JS, and/or CSS context. Successful exploitation requires an attacker to trick a logged in user into visiting the crafted URL. What the attacker can do depends on various factors, such as the configuration file being locked and/or if the admin domain is different from the delivery domain.

The original report as published on HackerOne, by nigh7c0r3. Images and videos are our own copies; raw HTML is shown as text. View it on HackerOne.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Root cause

The target GET parameter was inserted into the page output without proper sanitisation, so attacker-controlled HTML could reach the browser.

Impact

An attacker could execute malicious scripts in a logged-in administrator's browser, though what is achievable depends on factors such as whether the configuration file is locked and whether the admin domain differs from the delivery domain.

What the attacker needed

Victim is logged in; victim clicks a crafted link

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

A web page took a value from the URL and placed it directly into the page without cleaning it first. An attacker could build a link that contains code, and if an administrator clicked it while logged in, that code would run in the administrator's browser. This is called reflected cross-site scripting because the malicious input is reflected back in the response.

What is XSS?

Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.

More from Revive Adserver

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Cross-site scripting (XSS)

The lesson behind this report.

Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.