[revive-adserver] Reflected XSS in Banner Delivery Options via cap parameter
The banner-acl.php script of Revive Adserver echoed the cap, session_capping and time request parameters into HTML, JS and CSS contexts without sanitisation. An attacker could craft a URL containing an HTML payload and, if a logged-in administrator visited it, have malicious scripts run in the administrator's browser.
- Triaged in 16 hours
- Fixed in 24 days
- Disclosed after 25 days
Summary by the program
##Security advisory: REVIVE-SA-2026-001
##Description
HackerOne community member Patrick Lang (7yr) has reported a reflected XSS vulnerability in the banner-acl.php 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 cap, session_capping and time request parameters sent to the banner-acl.php script were 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.
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 cap, session_capping and time request parameters were written into the page output without proper sanitisation or context-aware encoding.
Impact
An attacker could have malicious scripts executed in a logged-in administrator's browser.
What the attacker needed
Victim is a logged-in administrator; victim clicks a crafted link
How it was found
- Craft a URL to banner-acl.php that includes an HTML payload in one of the cap, session_capping or time parameters.
- Trick a logged-in administrator into visiting the crafted URL.
- The payload is output in the HTML, JS or CSS context and the malicious script executes in the administrator's browser.
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.
Reflected cross-site scripting (XSS) happens when a website takes something from the URL and puts it straight into the page without cleaning it first. Here the ad server copied three values from the request into the page, so a link could carry a small script that runs in the browser of whoever opens it. Because the victim is a logged-in administrator, that script could act with the administrator's permissions.
What is XSS?
Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.