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-2021-47768

CVE-2021-47768: ImportExportTools NG XSS Vulnerability

CVE-2021-47768 is a persistent XSS flaw in ImportExportTools NG 10.0.4 that allows attackers to inject malicious HTML via email subjects. This article covers technical details, affected versions, and mitigation steps.

Published: January 23, 2026

CVE-2021-47768 Overview

CVE-2021-47768 is a persistent HTML injection vulnerability affecting ImportExportTools NG version 10.0.4, a popular add-on for Mozilla Thunderbird used for importing and exporting email messages. The vulnerability exists in the email export module and allows remote attackers to inject malicious HTML payloads through specially crafted email subjects. When a user exports emails to HTML format, the injected code executes in the context of the exported document, potentially compromising user data or session credentials.

Critical Impact

Remote attackers can inject persistent HTML content through email subjects that execute during HTML export operations, enabling potential data theft or credential compromise.

Affected Products

  • ImportExportTools NG 10.0.4
  • Mozilla Thunderbird installations with the vulnerable add-on

Discovery Timeline

  • 2026-01-15 - CVE CVE-2021-47768 published to NVD
  • 2026-01-16 - Last updated in NVD database

Technical Details for CVE-2021-47768

Vulnerability Analysis

This vulnerability is classified under CWE-79 (Improper Neutralization of Input During Web Page Generation), commonly known as Cross-Site Scripting (XSS). The flaw stems from insufficient input sanitization in the email export functionality of ImportExportTools NG. When processing email messages for export to HTML format, the add-on fails to properly encode or sanitize the subject field, allowing HTML and script content embedded in email subjects to persist in the exported files.

The attack requires minimal complexity—an attacker simply needs to send an email with a malicious HTML payload embedded in the subject line to a target user. When the victim exports their emails using the ImportExportTools NG add-on's HTML export feature, the malicious code is rendered and executed. This creates a stored/persistent HTML injection scenario where the payload remains active in the exported document.

The network-based attack vector means exploitation can occur remotely through standard email delivery mechanisms. While user interaction is required (the victim must perform an HTML export operation), this is a common action for users of this add-on, making exploitation realistic in practice.

Root Cause

The root cause of this vulnerability is the failure to implement proper output encoding when generating HTML export files. The ImportExportTools NG add-on directly incorporates email subject content into the HTML output without escaping special characters such as <, >, ", and &. This allows attackers to break out of the expected HTML context and inject arbitrary HTML elements or JavaScript code.

Attack Vector

The attack is executed via network (email delivery) and follows this sequence:

  1. Attacker crafts an email with malicious HTML/JavaScript embedded in the subject field
  2. Email is delivered to the target through standard SMTP channels
  3. Target user receives the email in Thunderbird with ImportExportTools NG installed
  4. When the user exports emails to HTML format using the add-on, the malicious payload is written directly into the exported HTML file
  5. When the exported HTML file is opened in a browser, the injected code executes

The injected HTML could be used to steal sensitive information displayed in the exported emails, redirect users to phishing sites, or perform other malicious actions within the context of the local HTML file.

Detection Methods for CVE-2021-47768

Indicators of Compromise

  • Presence of HTML tags or JavaScript code in email subject lines (e.g., <script>, <img onerror=, <iframe>)
  • Exported HTML files containing unexpected script tags or event handlers
  • Unusual network requests originating from opened HTML export files

Detection Strategies

  • Monitor email logs for messages containing HTML syntax in subject fields
  • Implement email gateway rules to flag or quarantine messages with suspicious subject content containing HTML tags
  • Scan exported HTML files for unexpected embedded scripts or external resource references

Monitoring Recommendations

  • Enable logging for the ImportExportTools NG add-on export operations where possible
  • Configure endpoint detection to alert on HTML files executing JavaScript from user-accessible directories
  • Review Thunderbird profile directories for anomalous exported content

How to Mitigate CVE-2021-47768

Immediate Actions Required

  • Update ImportExportTools NG to the latest available version from the official Thunderbird Add-ons repository
  • Review and disable the HTML export feature if not actively needed
  • Avoid exporting emails from untrusted or suspicious senders to HTML format
  • Open exported HTML files only in sandboxed or isolated environments

Patch Information

Users should check the GitHub repository for ImportExportTools NG for updated releases that address this vulnerability. The add-on can be updated directly through Thunderbird's Add-ons Manager by navigating to Menu > Add-ons and Themes > Extensions and checking for available updates.

Additional technical details about this vulnerability are available through Exploit-DB #50496 and Vulnerability Lab #2308.

Workarounds

  • Use alternative export formats (such as plain text or EML) instead of HTML export until a patch is applied
  • Pre-filter suspicious emails before export by reviewing subject lines for HTML characters
  • Configure email clients to render emails in plain text mode to help identify suspicious subject content
  • Implement Content Security Policy (CSP) headers if serving exported HTML files through a web server

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

  • Vulnerability Details
  • TypeXSS

  • Vendor/TechImportexporttools Ng

  • SeverityMEDIUM

  • CVSS Score5.3

  • EPSS Probability0.04%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-79
  • Technical References
  • Thunderbird Add-On Overview

  • GitHub Repository for Tools

  • Exploit-DB #50496

  • Vulnerability Lab #2308
  • Latest CVEs
  • CVE-2025-52793: Esselink.nu Settings CSRF Vulnerability

  • CVE-2025-52772: Virtual Moderator CSRF Vulnerability

  • CVE-2025-48279: WC MyParcel Belgium XSS Vulnerability

  • CVE-2025-39381: KiotViet Sync 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