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-2026-41061

CVE-2026-41061: WWBN AVideo Stored XSS Vulnerability

CVE-2026-41061 is a stored XSS flaw in WWBN AVideo that exploits weak regex validation in duration handling, allowing attackers to inject malicious scripts. This article covers technical details, affected versions, and mitigation.

Published: April 23, 2026

CVE-2026-41061 Overview

WWBN AVideo, an open source video platform, contains a stored Cross-Site Scripting (XSS) vulnerability in versions 29.0 and below. The isValidDuration() function in objects/video.php:918 uses a regex pattern /^[0-9]{1,2}:[0-9]{1,2}:[0-9]{1,2}/ without a $ end anchor, allowing arbitrary HTML/JavaScript to be appended after a valid duration prefix. The crafted duration is stored in the database and rendered without HTML escaping via echo Video::getCleanDuration() on trending pages, playlist pages, and video gallery thumbnails, resulting in stored cross-site scripting.

Critical Impact

Attackers can inject malicious scripts that execute in the context of other users' browsers when viewing video listings, potentially leading to session hijacking, credential theft, or malicious actions performed on behalf of authenticated users.

Affected Products

  • WWBN AVideo versions 29.0 and below
  • WWBN AVideo video gallery and playlist rendering components
  • WWBN AVideo trending page functionality

Discovery Timeline

  • April 21, 2026 - CVE CVE-2026-41061 published to NVD
  • April 22, 2026 - Last updated in NVD database

Technical Details for CVE-2026-41061

Vulnerability Analysis

This stored XSS vulnerability stems from an incomplete regular expression validation in the video duration field. The application accepts user-controlled duration values that are persisted to the database and later rendered in multiple page contexts without proper output encoding.

The regex pattern used for validation only anchors the beginning of the string with ^, checking that the input starts with a valid HH:MM:SS time format. However, the absence of the $ end anchor means any content appended after the duration prefix passes validation. An attacker can craft a malicious payload like 00:01:23<script>alert(document.cookie)</script> which satisfies the regex check but contains executable JavaScript.

Since the affected rendering function Video::getCleanDuration() echoes the stored value without HTML entity encoding, the malicious script executes whenever any user views the affected pages including trending pages, playlist pages, and video gallery thumbnails.

Root Cause

The root cause is twofold: first, the regex validation in isValidDuration() lacks a proper end anchor ($), allowing arbitrary content to be appended after a valid duration prefix. Second, the output function Video::getCleanDuration() fails to apply HTML escaping before rendering user-controlled data to the page, violating the principle of output encoding.

Attack Vector

This is a network-based attack requiring low privileges (authenticated user) and user interaction (victim must view an affected page). An authenticated attacker uploads a video or modifies video metadata with a malicious duration value. The payload bypasses the flawed regex validation and is stored in the database. When other users (including administrators) browse trending pages, playlists, or video galleries, the stored JavaScript executes in their browser context, potentially allowing session theft, account takeover, or further attack propagation.

php
// Vulnerable validation regex (before fix)
return preg_match('/^[0-9]{1,2}:[0-9]{1,2}:[0-9]{1,2}/', $duration);

// Fixed validation regex with $ anchor (after patch)
// SECURITY: $ anchor is required — without it, arbitrary content after a valid
// HH:MM:SS prefix passes validation and can be stored/rendered as XSS.
// Optional decimal-seconds suffix (e.g. 00:01:23.456) is allowed.
return preg_match('/^[0-9]{1,2}:[0-9]{1,2}:[0-9]{1,2}(\.[0-9]+)?$/', $duration);

Source: GitHub Commit Reference

Detection Methods for CVE-2026-41061

Indicators of Compromise

  • Presence of HTML tags or JavaScript within video duration fields in the database (e.g., 00:01:23<script>)
  • Unusual duration values containing special characters such as <, >, ", or '
  • Database entries in video tables with duration fields exceeding expected length for time strings

Detection Strategies

  • Implement database queries to audit video duration fields for any values containing HTML special characters or exceeding typical time format lengths
  • Review web server access logs for requests containing suspicious payload patterns targeting video upload or edit endpoints
  • Deploy Web Application Firewall (WAF) rules to detect XSS payload patterns in form submissions to video management endpoints

Monitoring Recommendations

  • Enable Content Security Policy (CSP) reporting to detect inline script execution attempts that may indicate XSS exploitation
  • Monitor for unusual session activity following video page views, which could indicate session hijacking via XSS
  • Configure logging for database modifications to video metadata fields to identify injection attempts

How to Mitigate CVE-2026-41061

Immediate Actions Required

  • Upgrade WWBN AVideo to a version containing commit bcba324644df8b4ed1f891462455f1cd26822a45 or later
  • Audit existing database records for malicious content in video duration fields and sanitize any compromised entries
  • Implement Content Security Policy headers to mitigate impact of any unpatched XSS vulnerabilities

Patch Information

The vulnerability has been addressed in commit bcba324644df8b4ed1f891462455f1cd26822a45. The fix modifies the regex pattern in isValidDuration() to include a proper $ end anchor, ensuring only valid duration formats are accepted. The updated pattern /^[0-9]{1,2}:[0-9]{1,2}:[0-9]{1,2}(\.[0-9]+)?$/ strictly validates the entire input string while still allowing optional decimal seconds notation.

For more details, see the GitHub Security Advisory and the patch commit.

Workarounds

  • Implement server-side input sanitization by stripping all HTML tags from duration values before storage
  • Apply output encoding using htmlspecialchars() or equivalent when rendering duration values in templates
  • Deploy WAF rules to block requests containing HTML/JavaScript payloads in video metadata fields
bash
# Database audit query to identify potentially compromised records
mysql -u admin -p -e "SELECT id, duration FROM videos WHERE duration REGEXP '[<>\"'\''&]' OR LENGTH(duration) > 15;" avideo_db

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

  • Vulnerability Details
  • TypeXSS

  • Vendor/TechWwbn Avideo

  • SeverityMEDIUM

  • CVSS Score5.4

  • EPSS Probability0.03%

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

  • GitHub Security Advisory
  • Related CVEs
  • CVE-2026-40911: WWBN AVideo WebSocket XSS Vulnerability

  • CVE-2026-34396: Wwbn Avideo XSS Vulnerability

  • CVE-2026-34739: Wwbn Avideo XSS Vulnerability

  • CVE-2026-34716: Wwbn Avideo XSS 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