Skip to main content
CVE Vulnerability Database
Vulnerability Database/CVE-2025-52668

CVE-2025-52668: Revive Adserver Stored XSS Vulnerability

CVE-2025-52668 is a stored cross-site scripting flaw in Revive Adserver that enables information disclosure and session hijacking. This article covers technical details, affected versions, security impact, and mitigation strategies.

Published:

CVE-2025-52668 Overview

CVE-2025-52668 is a stored cross-site scripting (XSS) vulnerability in Revive Adserver, an open-source ad management platform. The flaw resides in the stats-conversions.php script, which fails to properly neutralize user-supplied input before rendering it in HTML output. Authenticated attackers can inject persistent JavaScript payloads that execute in the browsers of other users viewing conversion statistics. Successful exploitation enables session hijacking and disclosure of sensitive information accessible to the victim. The vulnerability affects Revive Adserver versions 5.5.2 and 6.0.1 and earlier. It is tracked under CWE-79: Improper Neutralization of Input During Web Page Generation.

Critical Impact

Authenticated attackers can plant persistent JavaScript in the conversion statistics interface, enabling session hijacking and information disclosure against other Revive Adserver users.

Affected Products

  • Revive Adserver 5.5.2
  • Revive Adserver 6.0.1
  • Revive Adserver earlier versions of the 5.x and 6.x branches

Discovery Timeline

  • 2025-11-20 - CVE-2025-52668 published to the National Vulnerability Database
  • 2026-06-17 - Last updated in NVD database

Technical Details for CVE-2025-52668

Vulnerability Analysis

The vulnerability is a stored XSS flaw in the stats-conversions.php administrative script. Revive Adserver accepts input associated with conversion tracking and later renders it inside HTML output without adequate contextual encoding. Because the malicious content is persisted server-side, every user who loads the affected statistics view executes the attacker's payload in their session context. The Common Vulnerability Scoring System (CVSS) vector indicates network reachability, low attack complexity, and required user interaction, with a scope change reflecting the ability to compromise resources beyond the vulnerable component. The Exploit Prediction Scoring System (EPSS) probability is 0.527%.

Root Cause

The stats-conversions.php script performs improper input neutralization on parameters that flow into rendered HTML. Missing or insufficient output encoding allows raw <script> tags and event-handler attributes to survive processing. This aligns with CWE-79, where developer-controlled context switches between data and executable script are not enforced.

Attack Vector

An authenticated user with permission to submit or influence conversion-tracking data injects a JavaScript payload. When an administrator or another privileged user opens the conversion statistics page, the payload executes under their origin. The attacker can read session cookies, invoke authenticated administrative actions, exfiltrate ad campaign data, or pivot to hijack the victim's session. Technical details are documented in the HackerOne Security Report #3400506.

Detection Methods for CVE-2025-52668

Indicators of Compromise

  • Unexpected <script>, onerror, onload, or javascript: strings persisted in Revive Adserver database tables related to conversion tracking
  • Web server access logs showing POST or GET requests to stats-conversions.php containing HTML or JavaScript metacharacters
  • Outbound HTTP requests from administrator browsers to unfamiliar domains shortly after viewing conversion statistics

Detection Strategies

  • Inspect stored conversion parameters for encoded or raw HTML tags and script constructs
  • Deploy a Content Security Policy (CSP) in report-only mode to surface inline script violations originating from stats-conversions.php
  • Correlate authenticated administrator sessions with anomalous API calls that follow visits to the conversion statistics view

Monitoring Recommendations

  • Monitor web application firewall (WAF) telemetry for XSS signatures targeting Revive Adserver endpoints
  • Alert on new or modified admin accounts and permission changes following administrator logins
  • Review session cookie usage from multiple geographic locations for the same administrator identity

How to Mitigate CVE-2025-52668

Immediate Actions Required

  • Upgrade Revive Adserver to a version later than 5.5.2 and 6.0.1 that includes the fix referenced in HackerOne report #3400506
  • Audit existing conversion-tracking records for embedded HTML or script content and purge malicious entries
  • Rotate administrator session cookies and credentials that may have been exposed to injected payloads

Patch Information

Revive Adserver has addressed the improper input neutralization in stats-conversions.php in releases following 5.5.2 and 6.0.1. Administrators should consult the Revive Adserver security advisory referenced on HackerOne and apply the latest maintenance release for their branch. No official vendor advisory URL is listed in the NVD entry beyond the HackerOne disclosure.

Workarounds

  • Restrict access to the Revive Adserver administrative interface to trusted networks using IP allow-lists or VPN gateways
  • Enforce a strict Content Security Policy that blocks inline scripts and unauthorized script sources on the admin console
  • Limit which user roles can create or edit conversion-tracking entries until the patch is deployed
bash
# Example CSP header to reduce stored XSS impact on the admin console
Header set Content-Security-Policy "default-src 'self'; script-src 'self'; object-src 'none'; base-uri 'self'; frame-ancestors 'self'"

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.