Skip to content
XSS Disclosed report Beginner CVE-2025-52667

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.

lu3ky-13 Follow

Originally disclosed on HackerOne

  • 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

image.png
image.png From the original on HackerOne

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

image.png
image.png From the original on HackerOne

Impact

Cross-site Scripting (XSS) - Stored on inventory-retrieve.php and campaign-edit.php

The original report as published on HackerOne, by lu3ky-13. 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

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

  1. Go to the Inventory section and then Campaign.
  2. Enter a script payload in the campaign name field.
  3. Open the inventory-retrieve admin page with a client identifier.
  4. 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.

More by lu3ky-13

View all

30 more disclosed reports, best first.

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.