# CVE-2021-22889: Revive Adserver before v5.2.0 is vulnerable to a reflected XSS vulnerability in the statsBreakdown parameter of stats.php (and possibly oth…

- Severity: Medium 6.1 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 30.4%, higher than 98% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2021-03-25T19:40:55.000Z
- Modified: 2026-06-17T03:37:57.420Z
- Weaknesses: CWE-79
- Assigned by: hackerone

## Description

Revive Adserver before v5.2.0 is vulnerable to a reflected XSS vulnerability in the `statsBreakdown` parameter of stats.php (and possibly other scripts) due to single quotes not being escaped. An attacker could trick a user with access to the user interface of a Revive Adserver instance into clicking on a specifically crafted URL and pressing a certain key combination to execute injected JavaScript code.

(As written by CVE List.)

## Affected

- https://github.com/revive-adserver/revive-adserver: Fixed in v5.2.0
- revive-adserver revive_adserver: before 5.2.0

## Every score

- NVD: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:2.0 4.3 Medium `AV:N/AC:M/Au:N/C:N/I:P/A:N`

## References

- <https://hackerone.com/reports/1097217> (exploit, third-party-advisory)
- <https://www.revive-adserver.com/security/revive-sa-2021-003/> (vendor-advisory)
- <https://github.com/revive-adserver/revive-adserver/commit/2f868414> (patch, third-party-advisory)

## Sources

- CVE List: [CVE-2021-22889](https://www.cve.org/CVERecord?id=CVE-2021-22889), CVE Terms of Use, modified 2024-08-03
- NVD: [CVE-2021-22889](https://nvd.nist.gov/vuln/detail/CVE-2021-22889), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-22889 · Whole record: https://cve.day/CVE-2021-22889.json · Rebuilt by cve.day 2026-11-25T22:58:00.452Z
