Revive Adserver Security Advisory REVIVE-SA-2021-004

  • Advisory ID: REVIVE-SA-2021-004
  • CVE-IDs: n/a
  • Date: 2021-06-03
  • Risk Level: Low
  • Applications affected: Revive Adserver
  • Versions affected: <= 5.2.0
  • Versions not affected: >= 5.2.1
  • Website:

Vulnerability 1 – Reflected XSS

  • Vulnerability type: Improper Neutralization of Input During Web Page Generation (‘Cross-site Scripting’) [CWE-79]
  • CVE-ID: n/a
  • CVSSv3.1 Vector: AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N
  • CVSS Base Score: 4.3
  • CVSS Impact Subscore: 1.4
  • CVSS Exploitability Subscore: 2.8


Security researcher Alexey Solovyev (solov9ev) has discovered another variant of a previously reported and fixed reflected XSS vulnerability in stats.php. 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.


The statsBreakdown parameter was not fully escaped in stats.php when printed it in an HTML attribute, allowing an attacker to work around the existing escaping and to inject other HTML attributes. Other instances of the same issues had been fixed, but when the breakdown parameter was set to “affiliates”, the code path was bypassing the previous fix. The published exploit requires the victim to press a complex combination of keys to execute JavaScript code injected as onclick attribute of a hidden form field. Again, the session cookie cannot be accessed or stolen via JavaScript.



We strongly advise people to upgrade to the most recent 5.2.1 version of Revive Adserver, or whatever happens to be the current release at the time of reading this security advisory.

Contact Information

The security contact for Revive Adserver can be reached at: <security AT revive-adserver DOT com>

Please review before doing so.