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
    • 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-34405

CVE-2026-34405: Nuxt OG Image XSS Vulnerability

CVE-2026-34405 is a cross-site scripting flaw in Nuxt OG Image that allows arbitrary attribute injection into HTML pages. This article covers the technical details, affected versions prior to 6.2.5, and mitigation steps.

Published: April 2, 2026

CVE-2026-34405 Overview

CVE-2026-34405 is a Cross-Site Scripting (XSS) vulnerability in Nuxt OG Image, a module that generates Open Graph images using Vue templates in Nuxt applications. The vulnerability exists in the image-generation component accessible through the /_og/d/ URI endpoint (and /og-image/ in older versions), which allows attackers to inject arbitrary attributes into the HTML page body. This type of attribute injection can lead to various XSS attack scenarios where malicious scripts may execute in users' browsers.

Critical Impact

Attackers can inject arbitrary HTML attributes through the OG Image generation endpoints, potentially enabling Cross-Site Scripting attacks that could compromise user sessions, steal sensitive data, or perform unauthorized actions on behalf of authenticated users.

Affected Products

  • Nuxt OG Image versions prior to 6.2.5
  • Nuxt applications using the /_og/d/ endpoint
  • Nuxt applications using the legacy /og-image/ endpoint

Discovery Timeline

  • 2026-03-31 - CVE CVE-2026-34405 published to NVD
  • 2026-04-01 - Last updated in NVD database

Technical Details for CVE-2026-34405

Vulnerability Analysis

This vulnerability is classified under CWE-79 (Improper Neutralization of Input During Web Page Generation), commonly known as Cross-Site Scripting. The flaw resides in how the Nuxt OG Image module processes user-supplied input when generating Open Graph images through its exposed endpoints.

The affected endpoints (/_og/d/ and /og-image/) fail to properly sanitize or validate input parameters before incorporating them into the rendered HTML page. This oversight allows an attacker to craft malicious requests containing arbitrary HTML attributes that are directly injected into the page body without proper escaping or encoding.

The network-based attack vector requires user interaction, meaning a victim must be tricked into accessing a specially crafted URL. However, once triggered, the vulnerability can bypass same-origin restrictions due to its changed scope characteristic, potentially affecting resources beyond the vulnerable component's security domain.

Root Cause

The root cause is improper input validation and insufficient output encoding in the image-generation component. When processing requests to the OG image endpoints, the module fails to sanitize user-controlled parameters before reflecting them in the HTML response. This lack of input sanitization allows specially crafted attribute values to break out of their intended context and inject new attributes or event handlers into the HTML document.

Attack Vector

The attack is conducted over the network by crafting malicious URLs that target the vulnerable OG image generation endpoints. An attacker would construct a URL containing malicious attribute payloads and distribute it to potential victims through phishing emails, social media, or compromised websites.

When a victim clicks the malicious link, the vulnerable Nuxt OG Image component processes the request and renders the attacker-controlled content directly into the HTML page body. This can result in the execution of arbitrary JavaScript in the context of the victim's browser session, potentially leading to session hijacking, credential theft, or other malicious activities.

The vulnerability can be exploited by manipulating URL parameters or request data sent to the /_og/d/ or /og-image/ endpoints. The injected attributes could include JavaScript event handlers such as onload, onerror, or onclick that execute attacker-controlled scripts when the page renders.

Detection Methods for CVE-2026-34405

Indicators of Compromise

  • Unusual requests to /_og/d/ or /og-image/ endpoints containing HTML special characters or JavaScript event handlers
  • Web server logs showing requests with encoded payloads targeting OG image generation paths
  • Client-side reports of unexpected script execution or browser security warnings when accessing OG image URLs

Detection Strategies

  • Implement Web Application Firewall (WAF) rules to detect and block requests containing HTML attribute injection patterns targeting the affected endpoints
  • Monitor application logs for requests to /_og/d/ and /og-image/ paths with suspicious parameter values containing characters like <, >, ", or on* event handlers
  • Deploy Content Security Policy (CSP) headers to detect and report violations that may indicate XSS exploitation attempts

Monitoring Recommendations

  • Enable verbose logging on the Nuxt application to capture all requests to OG image generation endpoints
  • Set up alerting for anomalous traffic patterns or request volumes to the vulnerable URI paths
  • Review browser console reports and CSP violation logs for evidence of script injection attempts

How to Mitigate CVE-2026-34405

Immediate Actions Required

  • Upgrade Nuxt OG Image to version 6.2.5 or later immediately
  • If immediate patching is not possible, consider temporarily disabling or restricting access to the /_og/d/ and /og-image/ endpoints
  • Implement input validation and output encoding at the application or WAF level as a defense-in-depth measure

Patch Information

The vulnerability has been patched in Nuxt OG Image version 6.2.5. Organizations using affected versions should update to this version or later as soon as possible. For detailed patch information and security advisory details, refer to the GitHub Security Advisory.

Workarounds

  • Restrict access to the /_og/d/ and /og-image/ endpoints using network-level controls or reverse proxy rules until patching is complete
  • Implement strict Content Security Policy headers to mitigate the impact of potential XSS attacks
  • Deploy a WAF rule to sanitize or block requests containing potentially malicious HTML attribute patterns targeting the affected endpoints
bash
# Example: Nginx configuration to restrict access to vulnerable endpoints
location ~ ^/(og-image|_og/d)/ {
    # Option 1: Block access entirely until patched
    # deny all;
    
    # Option 2: Restrict to internal networks only
    allow 10.0.0.0/8;
    allow 192.168.0.0/16;
    deny all;
}

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

  • Vulnerability Details
  • TypeXSS

  • Vendor/TechNuxt

  • SeverityMEDIUM

  • CVSS Score6.1

  • EPSS Probability0.03%

  • 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
  • Technical References
  • GitHub Security Advisory
  • Related CVEs
  • CVE-2026-31860: Unhead useHeadSafe() XSS Vulnerability

  • CVE-2026-34404: Nuxt OG Image DoS Vulnerability

  • CVE-2025-27415: Nuxt Framework Cache Poisoning DOS Vulnerability

  • CVE-2023-3224: Nuxt Nuxt RCE 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