The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
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-2026-43877

CVE-2026-43877: WWBN AVideo CSRF Vulnerability

CVE-2026-43877 is a CSRF vulnerability in WWBN AVideo that allows attackers to overwrite user profile photos and trigger cache clearing. This article covers the technical details, affected versions, impact, and mitigation.

Published: May 18, 2026

CVE-2026-43877 Overview

CVE-2026-43877 is a Cross-Site Request Forgery [CWE-352] vulnerability in WWBN AVideo, an open source video platform. The flaw affects all versions up to and including 29.0. The legacy objects/userSavePhoto.php endpoint accepts a base64 POST parameter and writes the decoded bytes to videos/userPhoto/photo<users_id>.png without CSRF protection. Because the file does not end in .json.php, it is excluded from the project's global autoCSRFGuard. An attacker who lures a logged-in user to a malicious page can overwrite that user's profile photo with arbitrary bytes and trigger a site-wide clearCache(true) on every forged request.

Critical Impact

Authenticated victims visiting attacker-controlled pages can have their profile photo replaced with arbitrary bytes, and each forged request also flushes the site-wide cache.

Affected Products

  • WWBN AVideo versions up to and including 29.0
  • objects/userSavePhoto.php legacy profile-photo endpoint
  • objects/userSaveBackground.php related background image endpoint

Discovery Timeline

  • 2026-05-11 - CVE-2026-43877 published to NVD
  • 2026-05-12 - Last updated in NVD database

Technical Details for CVE-2026-43877

Vulnerability Analysis

The vulnerability resides in objects/userSavePhoto.php, a legacy profile-photo upload endpoint. Its only access control check is User::isLogged(), which verifies session presence but not request origin. The endpoint accepts a base64-encoded POST parameter and decodes the bytes directly to disk at videos/userPhoto/photo<users_id>.png.

AVideo enforces global CSRF defenses through autoCSRFGuard, configured in objects/include_config.php. However, the guard is suffix-scoped and only applies to files ending in .json.php. Because userSavePhoto.php does not match that suffix, requests bypass the global CSRF middleware entirely.

The endpoint additionally lacks an Origin or Referer header check and performs no MIME validation on the decoded bytes. Each forged request also calls clearCache(true), propagating cache invalidation site-wide.

Root Cause

The root cause is a missing CSRF token combined with a suffix-scoped CSRF guard. AVideo's default cookie policy is SameSite=None; Secure on HTTPS, as set in objects/functionsPHP.php:227. This permits browsers to attach session cookies to cross-site POST requests, enabling silent forgery against authenticated users.

Attack Vector

An attacker hosts a malicious page that submits a cross-origin POST to /objects/userSavePhoto.php with an attacker-controlled base64 payload. When a logged-in AVideo user visits the page, the browser attaches the session cookie due to the permissive SameSite policy. The server decodes the bytes, overwrites photo<users_id>.png, and triggers clearCache(true).

php
// Patch excerpt: objects/functionsImages.php
// Adds normalization and size estimation for base64 image input
function normalizeBase64ImageData($imgBase64)
{
    $imgBase64 = trim((string) $imgBase64);
    if ($imgBase64 === '') {
        return '';
    }

    if (preg_match('/^data:image\/[a-z0-9.+-]+;base64,/i', $imgBase64)) {
        $parts = explode(',', $imgBase64, 2);
        $imgBase64 = $parts[1] ?? '';
    }

    $imgBase64 = str_replace(' ', '+', $imgBase64);
    return preg_replace('/\s+/', '', $imgBase64);
}

// objects/userSaveBackground.php now invokes the request trust check
forbidIfIsUntrustedRequest('userSaveBackground');

Source: GitHub Commit 9c38468

Detection Methods for CVE-2026-43877

Indicators of Compromise

  • POST requests to /objects/userSavePhoto.php or /objects/userSaveBackground.php with a Referer or Origin header from an external domain.
  • Unexpected modifications to videos/userPhoto/photo<users_id>.png outside normal user profile update workflows.
  • Sudden bursts of clearCache(true) events correlated with unauthenticated-looking cross-site POSTs.

Detection Strategies

  • Inspect web server access logs for POST traffic to userSavePhoto.php lacking a same-origin Referer or with no CSRF token field.
  • Hash and baseline files in videos/userPhoto/ and alert on unexpected overwrites tied to active sessions.
  • Correlate cache-clear events with profile photo writes to surface forged request chains.

Monitoring Recommendations

  • Enable verbose request logging on legacy PHP endpoints not covered by autoCSRFGuard.
  • Forward web access logs and PHP application logs to a central SIEM for anomaly correlation.
  • Alert on cross-origin POSTs to authenticated endpoints when session cookies are present.

How to Mitigate CVE-2026-43877

Immediate Actions Required

  • Upgrade WWBN AVideo to a release containing commit 9c38468041505e637101c5943c5370c68f48e3ac.
  • Audit all PHP endpoints outside the .json.php suffix scope for missing CSRF protection.
  • Review videos/userPhoto/ for recently overwritten image files and restore from backup if tampering is suspected.

Patch Information

The fix is delivered in commit 9c38468041505e637101c5943c5370c68f48e3ac. The patch introduces normalizeBase64ImageData() and estimateBase64DecodedSize() helpers in objects/functionsImages.php and invokes forbidIfIsUntrustedRequest() on the affected endpoints. See the GitHub Security Advisory GHSA-jw8g-5j46-44rp for the full advisory.

Workarounds

  • Restrict access to objects/userSavePhoto.php and objects/userSaveBackground.php at the web server layer until patched.
  • Enforce a stricter cookie policy by overriding the default SameSite=None setting in objects/functionsPHP.php where compatible with deployment requirements.
  • Add a reverse-proxy rule that rejects POSTs to these endpoints when Origin or Referer does not match the site's own domain.
bash
# Example nginx rule rejecting cross-origin POSTs to the vulnerable endpoints
location ~ ^/objects/(userSavePhoto|userSaveBackground)\.php$ {
    if ($request_method = POST) {
        set $allow 0;
        if ($http_origin ~* ^https://your-avideo-domain\.com$) { set $allow 1; }
        if ($http_referer ~* ^https://your-avideo-domain\.com/) { set $allow 1; }
        if ($allow = 0) { return 403; }
    }
    include fastcgi_params;
    fastcgi_pass php-upstream;
}

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

  • Vulnerability Details
  • TypeCSRF

  • Vendor/TechAvideo

  • SeverityMEDIUM

  • CVSS Score5.4

  • EPSS Probability0.02%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityLow
  • AvailabilityLow
  • CWE References
  • CWE-352
  • Technical References
  • GitHub Commit Changes

  • GitHub Security Advisory GHSA-jw8g-5j46-44rp
  • Related CVEs
  • CVE-2026-40925: WWBN AVideo CSRF Vulnerability

  • CVE-2026-35180: WWBN AVideo CSRF Vulnerability

  • CVE-2026-34613: Wwbn Avideo CSRF Vulnerability

  • CVE-2020-37172: AVideo Platform 8.1 CSRF 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