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-21087

CVE-2021-21087: Adobe ColdFusion XSS Vulnerability

CVE-2021-21087 is a cross-site scripting flaw in Adobe ColdFusion that enables attackers to execute arbitrary JavaScript in the user's browser context. This article covers technical details, affected versions, and mitigation.

Published: February 25, 2026

CVE-2021-21087 Overview

Adobe ColdFusion versions 2016 (update 16 and earlier), 2018 (update 10 and earlier), and 2021.0.0.323925 are affected by an Improper Neutralization of Input During Web Page Generation (Cross-Site Scripting) vulnerability. An attacker could abuse this vulnerability to execute arbitrary JavaScript code in the context of the current user. Exploitation of this issue requires user interaction, meaning a victim must be tricked into visiting a malicious link or page containing the XSS payload.

Critical Impact

This XSS vulnerability enables attackers to execute arbitrary JavaScript in authenticated user sessions, potentially leading to session hijacking, credential theft, and unauthorized actions within ColdFusion administrative interfaces.

Affected Products

  • Adobe ColdFusion 2016 (update 16 and earlier)
  • Adobe ColdFusion 2018 (update 10 and earlier)
  • Adobe ColdFusion 2021.0.0.323925

Discovery Timeline

  • 2021-04-15 - CVE-2021-21087 published to NVD
  • 2024-11-21 - Last updated in NVD database

Technical Details for CVE-2021-21087

Vulnerability Analysis

This vulnerability is classified as CWE-79: Improper Neutralization of Input During Web Page Generation, commonly known as Cross-Site Scripting (XSS). The flaw exists within Adobe ColdFusion's web interface where user-supplied input is not properly sanitized before being rendered in web pages. This allows an attacker to inject malicious scripts that execute within the browser context of users who interact with the crafted content.

The vulnerability requires user interaction for successful exploitation, meaning attackers must employ social engineering techniques to lure victims to malicious pages or click on crafted links. When executed, the injected JavaScript runs with the same privileges as the victim user, potentially exposing sensitive session data, authentication tokens, and allowing unauthorized actions within the ColdFusion environment.

Root Cause

The root cause of CVE-2021-21087 lies in insufficient input validation and output encoding within Adobe ColdFusion's web interface components. User-controlled data is incorporated into HTML responses without proper sanitization, allowing specially crafted input containing JavaScript code to be rendered and executed by the victim's browser. This failure to neutralize potentially dangerous characters and script content before web page generation creates the XSS attack surface.

Attack Vector

The attack vector for this vulnerability is network-based, requiring an authenticated user to interact with malicious content. An attacker can craft a URL or web page containing malicious JavaScript payload targeting the vulnerable ColdFusion instance. When a victim with an active ColdFusion session visits the attacker-controlled content or clicks a crafted link, the malicious script executes within their browser session.

The exploitation chain typically involves:

  1. Attacker identifies a vulnerable Adobe ColdFusion installation
  2. Attacker crafts a malicious payload containing JavaScript code
  3. Payload is delivered via phishing email, compromised website, or direct link
  4. Victim with active ColdFusion session interacts with the payload
  5. Malicious JavaScript executes in the victim's browser context
  6. Attacker can steal session cookies, capture credentials, or perform unauthorized actions

Detection Methods for CVE-2021-21087

Indicators of Compromise

  • Unexpected JavaScript execution within ColdFusion administrative pages or application interfaces
  • Suspicious URL parameters containing encoded script tags or JavaScript event handlers
  • Unusual outbound connections from user browsers to unknown external domains after accessing ColdFusion pages
  • Session token exposure or unauthorized administrative actions correlating with user visits to external links

Detection Strategies

  • Monitor web application logs for URL patterns containing script injection attempts targeting ColdFusion endpoints
  • Implement Content Security Policy (CSP) headers and monitor for CSP violation reports indicating XSS attempts
  • Deploy web application firewall (WAF) rules to detect and block common XSS payload patterns in requests
  • Review ColdFusion access logs for unusual request patterns or parameter values with encoded characters

Monitoring Recommendations

  • Enable verbose logging on ColdFusion servers to capture detailed request information for forensic analysis
  • Configure browser-based XSS auditing mechanisms and monitor for triggered alerts
  • Implement real-time alerting for requests containing suspicious JavaScript-related strings targeting ColdFusion URLs
  • Correlate user session activity with external link clicks to identify potential XSS exploitation attempts

How to Mitigate CVE-2021-21087

Immediate Actions Required

  • Apply the Adobe security update referenced in APSB21-16 immediately to all affected ColdFusion installations
  • Audit ColdFusion deployments to identify all instances running vulnerable versions (2016 update 16 and earlier, 2018 update 10 and earlier, 2021.0.0.323925)
  • Implement Content Security Policy headers to restrict script execution sources as a defense-in-depth measure
  • Educate users about phishing risks and the importance of not clicking untrusted links while authenticated to ColdFusion

Patch Information

Adobe has released security updates to address this vulnerability. Administrators should consult the Adobe ColdFusion Security Advisory (APSB21-16) for detailed patch information and update instructions. Organizations should prioritize applying these updates to all affected ColdFusion instances, particularly those exposed to the internet or handling sensitive data.

For Adobe ColdFusion 2016, upgrade to update 17 or later. For ColdFusion 2018, upgrade to update 11 or later. For ColdFusion 2021, apply the security hotfix provided in the advisory.

Workarounds

  • Implement strict input validation on all user-supplied data processed by ColdFusion applications
  • Deploy a web application firewall (WAF) configured with XSS protection rules in front of ColdFusion servers
  • Enable HTTP-only and Secure flags on all session cookies to reduce impact of potential cookie theft
  • Restrict access to ColdFusion administrative interfaces to trusted networks only until patches are applied
bash
# Example: Configure HTTP-only and Secure cookie flags in ColdFusion Administrator
# Navigate to: Server Settings > Settings
# Enable "Use J2EE session variables"
# Set session cookie configuration in jvm.config or web server configuration

# Apache configuration example for additional XSS protection headers
<IfModule mod_headers.c>
    Header set X-XSS-Protection "1; mode=block"
    Header set Content-Security-Policy "default-src 'self'; script-src 'self'"
    Header set X-Content-Type-Options "nosniff"
</IfModule>

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

  • Vulnerability Details
  • TypeXSS

  • Vendor/TechAdobe Coldfusion

  • SeverityMEDIUM

  • CVSS Score5.4

  • EPSS Probability84.20%

  • 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
  • Vendor Resources
  • Adobe ColdFusion Security Advisory
  • Related CVEs
  • CVE-2022-28818: Adobe ColdFusion XSS Vulnerability

  • CVE-2026-27282: Adobe ColdFusion Auth Bypass Vulnerability

  • CVE-2026-27304: Adobe ColdFusion RCE Vulnerability

  • CVE-2026-27305: Adobe ColdFusion Path Traversal Flaw
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