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

Reflected XSS in account-preferences-plugin.php

The group parameter on the account-preferences-plugin admin page is reflected into the page without proper output encoding, so injected script runs in the victim's browser. An attacker could use this for typical script-injection abuse such as UI redress, phishing content and session manipulation.

lu3ky-13 Follow

Originally disclosed on HackerOne

Medium 4.3 View original
  • Triaged in 4 hours
  • Fixed in 3 days
  • Disclosed after 25 days

Summary by the researcher

https://hackerone.com/lu3ky-13

The report

h1 team

I discovered a reflected cross-site scripting (RXSS) vulnerability in revive-adserver-6.0.1/www/admin/account-preferences-plugin.php via the group query parameter. Untrusted input is reflected without proper output encoding or context-aware escaping, allowing injection of JavaScript into the resulting page.

Affected component(s)

revive-adserver-6.0.1/www/admin/account-preferences-plugin.php?group= Tested instance: ████...

Proof of Concept (PoC) Custom PoC URL (as tested / reported via xss.report): ```██████████%27%22%3E%3Cscript%20src=//███████%3E%3C/script%3E

Alternate (inline) PoC that demonstrates execution without remote resources:

██████████%27%22%3E%3Cscript%3Ealert(9645)%3C/script%3E


Example “normal payload” that produced a popup in my testing (non-destructive):

'"()%26%25<zzz><ScRiPt >alert(9645)</ScRiPt>

Steps to reproduce (safe)

████%27%22%3E%3Cscript%3Ealert(1)%3C/script%3E

Observe that the injected <script>alert(1)</script> is executed (popup appears) — confirming reflected XSS.

{{media:0}}

## Impact

An attacker can inject script that executes in the victim’s browser context. This can be used for typical XSS abuse (UI redress, persistence of phishing content, session manipulation). Note: I only tested non-destructive PoCs and did not attempt to exfiltrate secrets.

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 group parameter is written into the HTML response without context-aware output encoding, so markup and script tags in the value are treated as page content.

Impact

An attacker could run script in the victim's browser context, which may be used for UI redress, planting phishing content or session manipulation; the reporter only tested non-destructive proofs and did not attempt to steal secrets.

What the attacker needed

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 address bar and pasted it into the page without cleaning it first. Because of that, someone can craft a link that makes the site run their own small program (script) inside the victim's browser. That script runs as if the site itself had written it, so it can change what the page shows or act on the victim's behalf.

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.