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
    • 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-2023-29453

CVE-2023-29453: Zabbix Zabbix-agent2 XSS Vulnerability

CVE-2023-29453 is a cross-site scripting flaw in Zabbix Zabbix-agent2 that allows attackers to inject malicious JavaScript through template literals. This article covers technical details, affected versions, and steps.

Published: February 4, 2026

CVE-2023-29453 Overview

CVE-2023-29453 is a critical code injection vulnerability affecting Zabbix Agent2 that stems from improper handling of backticks (`) as JavaScript string delimiters in Go templates. The vulnerability allows attackers to inject arbitrary JavaScript code into Go templates by exploiting the ES6 template literal syntax. When a Go template action is placed within a JavaScript template literal, an attacker can manipulate the action's contents to terminate the literal prematurely, enabling the injection of malicious JavaScript code.

Critical Impact

This vulnerability enables arbitrary JavaScript code injection through Go template manipulation, potentially allowing attackers to execute malicious code in the context of affected Zabbix monitoring infrastructure.

Affected Products

  • Zabbix Agent2 (multiple versions)
  • Systems using Go templates with JavaScript template literals
  • Monitoring infrastructure relying on vulnerable Zabbix Agent2 deployments

Discovery Timeline

  • 2023-10-12 - CVE-2023-29453 published to NVD
  • 2024-11-21 - Last updated in NVD database

Technical Details for CVE-2023-29453

Vulnerability Analysis

This vulnerability is classified as CWE-94 (Code Injection) and affects the Go template engine's handling of JavaScript ES6 template literals. The core issue lies in how templates process backtick characters, which serve as delimiters for JavaScript template literals introduced in ES6. Unlike traditional single or double quotes, backticks enable complex string interpolation and multi-line strings in JavaScript.

When a Go template action (e.g., {{.}}) is embedded within a JavaScript template literal, the template engine fails to properly escape backticks. This oversight allows an attacker to craft input that terminates the JavaScript template literal prematurely, effectively breaking out of the intended string context and injecting arbitrary JavaScript code.

The complexity of ES6 template literals—particularly their native support for string interpolation via ${expression} syntax—makes secure handling exceptionally difficult. The Go security team determined that there is no obviously safe way to allow Go template actions inside JavaScript template literals, leading to the decision to disallow this pattern entirely in the fix.

Root Cause

The root cause is the Go template engine's failure to recognize backticks as JavaScript string delimiters requiring proper escaping. Prior to the fix, the template parser did not treat backticks with the same security considerations applied to single and double quotes. This allowed user-controlled input within Go template actions to contain backticks that would be interpreted as JavaScript template literal terminators, creating an injection point for malicious code.

Attack Vector

The attack exploits network-accessible Zabbix Agent2 installations where user-controlled data flows into Go templates that are rendered within JavaScript contexts. An attacker can craft a malicious payload containing a backtick followed by arbitrary JavaScript code. When this payload is processed by a vulnerable template:

  1. The attacker's input is placed within a Go template action inside a JavaScript template literal
  2. The backtick in the attacker's input terminates the legitimate template literal
  3. The subsequent attacker-controlled content is interpreted as JavaScript code
  4. The injected code executes in the context of the affected application

The vulnerability requires no authentication or user interaction and can be exploited remotely over the network, making it particularly dangerous in exposed monitoring environments.

Detection Methods for CVE-2023-29453

Indicators of Compromise

  • Unexpected backtick characters in log entries or template processing outputs
  • JavaScript syntax errors in monitoring dashboards or agent communications
  • Anomalous network traffic patterns from Zabbix Agent2 processes
  • Unusual script execution or process spawning from monitoring infrastructure

Detection Strategies

  • Monitor template processing logs for malformed or suspicious input containing backtick sequences
  • Implement web application firewalls (WAF) rules to detect JavaScript injection patterns in Zabbix communications
  • Review Zabbix Agent2 configurations for any custom templates that embed user input in JavaScript contexts
  • Deploy runtime application self-protection (RASP) solutions to detect code injection attempts

Monitoring Recommendations

  • Enable verbose logging on Zabbix Agent2 instances to capture template processing activities
  • Set up alerts for template parsing errors, particularly those matching the new ErrorCode 12
  • Monitor for the GODEBUG flag jstmpllitinterp=1 in environment variables, which re-enables vulnerable behavior
  • Establish baseline behavior for Zabbix Agent2 processes and alert on deviations

How to Mitigate CVE-2023-29453

Immediate Actions Required

  • Update Zabbix Agent2 to the latest patched version immediately
  • Audit all custom templates for Go template actions within JavaScript template literals
  • Remove or refactor any templates using the pattern var a = {{.}} within JavaScript contexts
  • Ensure the GODEBUG flag jstmpllitinterp=1 is not set unless absolutely necessary and risks are understood

Patch Information

Zabbix has released patches addressing this vulnerability. Refer to the Zabbix Support Ticket ZBX-23388 for specific version information and patch details. The fix causes Template.Parse to return an error with ErrorCode 12 when it encounters templates with Go actions inside JavaScript template literals. This ErrorCode will be exported in Go 1.21.

Workarounds

  • Avoid using Go template actions inside JavaScript template literals entirely
  • If re-enabling legacy behavior is necessary, use GODEBUG=jstmpllitinterp=1 with extreme caution, understanding that backticks will be escaped but the overall pattern remains risky
  • Implement strict input validation to reject any user input containing backtick characters before template processing
  • Isolate Zabbix Agent2 instances from untrusted network segments to reduce attack surface
bash
# Verify Zabbix Agent2 version and check for vulnerable configurations
zabbix_agent2 -V

# Ensure GODEBUG flag is not enabling vulnerable behavior
env | grep GODEBUG

# If jstmpllitinterp=1 is found, remove it from environment
unset GODEBUG

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

  • Vulnerability Details
  • TypeXSS

  • Vendor/TechZabbix

  • SeverityCRITICAL

  • CVSS Score9.8

  • EPSS Probability0.56%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-94
  • Vendor Resources
  • Zabbix Support Ticket ZBX-23388
  • Related CVEs
  • CVE-2024-42330: Zabbix XSS Vulnerability

  • CVE-2020-15803: Zabbix URL Widget XSS Vulnerability

  • CVE-2026-23919: Zabbix Information Disclosure Vulnerability

  • CVE-2026-23921: Zabbix API SQL Injection 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