Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2020-8115

CVE-2020-8115: Revive Adserver Reflected XSS Vulnerability

CVE-2020-8115 is a reflected XSS flaw in Revive Adserver's afr.php delivery script that enables attackers to execute arbitrary JavaScript code. This article covers the technical details, affected versions, and mitigation strategies.

Published: March 4, 2026

CVE-2020-8115 Overview

A reflected Cross-Site Scripting (XSS) vulnerability has been discovered in the publicly accessible afr.php delivery script of Revive Adserver versions 5.0.3 and earlier. The vulnerability was discovered by security researcher Jacopo Tediosi and reported through HackerOne. The query string sent to the www/delivery/afr.php script was printed back without proper escaping in a JavaScript context, allowing an attacker to execute arbitrary JavaScript code on the browser of the victim.

Critical Impact

While there are currently no known active exploits, on older versions prior to v3.2.2 (where the session identifier was not stored in an http-only cookie), attackers could potentially steal session identifiers and gain unauthorized access to the admin interface under specific circumstances.

Affected Products

  • Revive Adserver versions 5.0.3 and earlier
  • www/delivery/afr.php delivery script component
  • All installations with publicly accessible afr.php endpoint

Discovery Timeline

  • 2020-02-04 - CVE-2020-8115 published to NVD
  • 2024-11-21 - Last updated in NVD database

Technical Details for CVE-2020-8115

Vulnerability Analysis

This reflected XSS vulnerability exists in the afr.php delivery script of Revive Adserver. The script is publicly accessible and is used for ad delivery functionality. The core issue stems from improper output encoding when the script reflects user-supplied input back to the browser within a JavaScript context.

When a victim clicks a maliciously crafted link or visits an attacker-controlled page that redirects to the vulnerable endpoint, the injected JavaScript code executes in the context of the Revive Adserver domain. This allows attackers to perform actions on behalf of the victim, steal sensitive information, or redirect users to malicious sites.

The vulnerability's impact varies based on the Revive Adserver version deployed. Since version 3.2.2, the session identifier is stored in an http-only cookie, which prevents JavaScript-based session theft. However, on older installations, this vulnerability could enable session hijacking and unauthorized access to the administrative interface.

Root Cause

The root cause of CVE-2020-8115 is improper output encoding in the afr.php script. The query string parameters passed to the script are echoed back to the client without proper sanitization or escaping for the JavaScript context in which they appear. This violates secure coding practices for output encoding, specifically CWE-79 (Improper Neutralization of Input During Web Page Generation).

Attack Vector

The attack vector for this vulnerability is network-based and requires user interaction. An attacker would need to craft a malicious URL containing JavaScript payload in the query string and trick a victim into clicking the link. The attack could be delivered through:

  • Phishing emails with malicious links
  • Compromised or malicious websites redirecting to the vulnerable endpoint
  • Social engineering tactics through messaging platforms
  • Malicious advertisements pointing to the crafted URL

The vulnerability affects the confidentiality and integrity of the victim's browser session, potentially enabling data theft, session hijacking (on older versions), or unauthorized actions performed on behalf of the authenticated user.

Detection Methods for CVE-2020-8115

Indicators of Compromise

  • Unusual HTTP requests to www/delivery/afr.php containing JavaScript code or encoded script payloads in query parameters
  • Web server logs showing access to afr.php with suspicious query strings containing characters like <script>, javascript:, or URL-encoded equivalents
  • Unexpected network traffic from ad server domains to external destinations following access to the afr.php endpoint
  • Reports from users about unexpected browser behavior or redirects when interacting with advertisements

Detection Strategies

  • Configure Web Application Firewall (WAF) rules to detect and block XSS patterns in requests to delivery scripts
  • Implement log monitoring for requests containing script tags, event handlers, or JavaScript protocol handlers in query strings
  • Deploy Content Security Policy (CSP) headers to mitigate the impact of XSS attacks by restricting script execution
  • Utilize intrusion detection systems (IDS) with signatures for common XSS attack patterns targeting ad server infrastructure

Monitoring Recommendations

  • Review web server access logs regularly for requests to /www/delivery/afr.php with abnormally long or suspicious query strings
  • Set up alerting for high volumes of requests to delivery scripts from single IP addresses or unusual geographic locations
  • Monitor for authentication anomalies following visits to ad delivery endpoints, which could indicate session hijacking attempts
  • Implement real-time analysis of outbound requests from browser sessions interacting with the ad server

How to Mitigate CVE-2020-8115

Immediate Actions Required

  • Upgrade Revive Adserver to a version newer than 5.0.3 that includes the security fix for this vulnerability
  • Review web server logs for any evidence of exploitation attempts targeting the afr.php script
  • Implement Web Application Firewall rules to filter XSS payloads in requests to delivery scripts as a temporary measure
  • Ensure session cookies are configured with the HttpOnly flag to prevent JavaScript-based session theft

Patch Information

Revive Adserver has released a security patch addressing this vulnerability. Organizations should upgrade to the latest version of Revive Adserver as documented in the Revive Adserver Security Advisory. The vulnerability was reported through the HackerOne Bug Bounty Program and has been remediated by the vendor.

Workarounds

  • Deploy a Web Application Firewall (WAF) with XSS filtering rules to inspect and sanitize requests to the afr.php endpoint
  • Implement Content Security Policy headers with strict script-src directives to reduce the impact of successful XSS attacks
  • Consider restricting access to the afr.php delivery script via IP whitelisting if business requirements permit
  • Enable HttpOnly and Secure flags on all session cookies if not already configured (default since v3.2.2)
bash
# Apache configuration to add XSS protection headers
<IfModule mod_headers.c>
    Header always set X-XSS-Protection "1; mode=block"
    Header always set X-Content-Type-Options "nosniff"
    Header always set Content-Security-Policy "default-src 'self'; script-src 'self'"
</IfModule>

# Nginx configuration for XSS protection headers
add_header X-XSS-Protection "1; mode=block" always;
add_header X-Content-Type-Options "nosniff" always;
add_header Content-Security-Policy "default-src 'self'; script-src 'self'" always;

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

  • Vulnerability Details
  • TypeXSS

  • Vendor/TechRevive Adserver

  • SeverityMEDIUM

  • CVSS Score6.1

  • EPSS Probability57.16%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityLow
  • AvailabilityNone
  • CWE References
  • CWE-79
  • Vendor Resources
  • HackerOne Report #775693

  • Revive Adserver Security Advisory
  • Related CVEs
  • CVE-2026-21664: Revive Adserver Reflected XSS Vulnerability

  • CVE-2026-21663: Revive Adserver XSS Vulnerability

  • CVE-2026-21642: Revive Adserver XSS Vulnerability

  • CVE-2026-21641: Revive Adserver Auth Bypass Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English