Stored XSS on inventory-retrieve.php
A stored cross-site scripting flaw existed in the campaign name field, which was rendered without proper encoding on the inventory-retrieve and campaign-edit admin pages. An attacker could save a script in a campaign name so that it ran in the browser of an admin who viewed those pages.
- Triaged in 12 hours
- Fixed in 3 days
- Disclosed after 25 days
h1 team
i have found Cross-site Scripting (XSS) - Stored on inventory-retrieve.php and campaign-edit.php
steps here
1 go to Inventory --> Campaign ---> add payload in Name *
2 write any payload><img src=x onerror=alert(document.domain)>
4 open this http://localhost/ddf/revive-adserver-6.0.1/www/admin/inventory-retrieve.php?clientid=1
4 you see alert

open this http://localhost/ddf/revive-adserver-6.0.1/www/admin/inventory-retrieve.php?clientid=1

Impact
Cross-site Scripting (XSS) - Stored on inventory-retrieve.php and campaign-edit.php
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
Likely the campaign name was saved and then output into the admin pages without HTML encoding, so markup in the name was treated as code.
Impact
An attacker who can set a campaign name could run script in an admin's browser when the admin opens the affected pages, though the report does not demonstrate any concrete harm beyond the alert.
What the attacker needed
Ability to create or edit a campaign; victim (admin) opens the affected page
How it was found
- Go to the Inventory section and then Campaign.
- Enter a script payload in the campaign name field.
- Open the inventory-retrieve admin page with a client identifier.
- The script runs and an alert appears.
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.
Stored cross-site scripting means a malicious script is saved on the server and later shown to other people. Here the campaign name field accepted a script, and the admin inventory page displayed it, so the browser ran it and showed an alert.
What is XSS?
Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.