A Leader in the 2026 Gartner® Magic Quadrant™ for Endpoint Protection. Six years running.Six years. Gartner® Magic Quadrant™ Leader.Find Out Why
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-2025-57349

CVE-2025-57349: Openjsf Messageformat RCE Vulnerability

CVE-2025-57349 is a remote code execution flaw in Openjsf Messageformat caused by prototype pollution in message key handling. Attackers can inject malicious properties. This article covers technical details, affected versions, and fixes.

Published: April 14, 2026

CVE-2025-57349 Overview

The messageformat package, an implementation of the Unicode MessageFormat 2 specification for JavaScript, is vulnerable to prototype pollution due to improper handling of message key paths in versions prior to 2.3.0. The flaw arises when processing nested message keys containing special characters (e.g., __proto__), which can lead to unintended modification of the JavaScript Object prototype. This vulnerability may allow a remote attacker to inject properties into the global object prototype via specially crafted message input, potentially causing denial of service or other undefined behaviors in applications using the affected component.

Critical Impact

Remote attackers can exploit prototype pollution to inject malicious properties into JavaScript's Object prototype, potentially causing denial of service or enabling further attacks in applications that depend on the messageformat package.

Affected Products

  • openjsf messageformat (versions prior to 2.3.0)

Discovery Timeline

  • 2025-09-24 - CVE CVE-2025-57349 published to NVD
  • 2025-10-17 - Last updated in NVD database

Technical Details for CVE-2025-57349

Vulnerability Analysis

This vulnerability is classified as Prototype Pollution (CWE-1321), a class of security flaw specific to JavaScript applications. The messageformat package fails to properly sanitize nested message key paths during processing, allowing attackers to inject special property names like __proto__, constructor, or prototype into the object hierarchy.

When an application processes user-controlled message input through the vulnerable messageformat library, an attacker can craft input containing malicious key paths that traverse to and modify the base Object prototype. Since all JavaScript objects inherit from Object.prototype, any properties added to it become accessible on all objects within the application context.

The attack is network-accessible and requires no authentication or user interaction, making it particularly dangerous for web applications that process untrusted message formatting input.

Root Cause

The root cause lies in the improper handling of message key paths within the messageformat package. When the library processes nested keys, it does not validate or sanitize key names to prevent access to prototype chain properties. This allows specially crafted keys containing __proto__ or similar dangerous property names to traverse the prototype chain and modify Object.prototype, affecting all objects in the JavaScript runtime.

Attack Vector

The attack is executed remotely over the network by supplying malicious message input to an application using the vulnerable messageformat package. An attacker crafts a message with nested keys designed to exploit the prototype pollution vulnerability. When processed, these keys navigate the prototype chain and inject attacker-controlled properties into Object.prototype.

The exploitation requires:

  1. An application using messageformat versions prior to 2.3.0
  2. User-controllable input that gets processed by the messageformat library
  3. Crafted message keys containing prototype-accessing property names

For technical details on the vulnerability mechanism and discussion, see the GitHub Issue Discussion.

Detection Methods for CVE-2025-57349

Indicators of Compromise

  • Unexpected properties appearing on JavaScript objects that were not explicitly defined
  • Application crashes or undefined behavior related to object property access
  • Error logs indicating unexpected object prototype modifications
  • Anomalous input patterns containing __proto__, constructor.prototype, or similar strings in message formatting requests

Detection Strategies

  • Implement input validation to detect and block message keys containing __proto__, constructor, or prototype strings
  • Deploy Web Application Firewall (WAF) rules to filter requests containing prototype pollution payloads
  • Use runtime application self-protection (RASP) solutions to monitor for prototype modifications
  • Scan application dependencies using software composition analysis (SCA) tools to identify vulnerable messageformat versions

Monitoring Recommendations

  • Monitor application logs for unusual error patterns related to object property access or type errors
  • Implement logging for all message formatting operations to capture potentially malicious input
  • Set up alerts for dependency vulnerability scanners when vulnerable package versions are detected
  • Track JavaScript runtime exceptions that may indicate prototype pollution exploitation attempts

How to Mitigate CVE-2025-57349

Immediate Actions Required

  • Upgrade the messageformat package to version 2.3.0 or later immediately
  • Audit applications using messageformat to identify exposure to untrusted input
  • Implement input validation to sanitize message keys before processing
  • Review application code for any patterns that pass user-controlled data to messageformat functions

Patch Information

The vulnerability is addressed in messageformat version 2.3.0 and later. Organizations should update their package dependencies to the patched version. For additional context and patch details, refer to the GitHub Issue Discussion.

Workarounds

  • Implement a sanitization layer that strips or rejects message keys containing __proto__, constructor, or prototype before passing data to messageformat
  • Use Object.freeze(Object.prototype) to prevent modifications to the Object prototype (note: this may break legitimate application functionality)
  • Employ object creation with Object.create(null) for sensitive data structures to avoid prototype chain inheritance
  • Restrict messageformat processing to trusted, validated input sources only until patching is complete
bash
# Upgrade messageformat to patched version
npm update messageformat@^2.3.0

# Verify installed version
npm list messageformat

# For yarn users
yarn upgrade messageformat@^2.3.0

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

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechOpenjsf Messageformat

  • SeverityHIGH

  • CVSS Score7.5

  • EPSS Probability0.31%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-1321
  • Technical References
  • GitHub Issue Discussion
  • Latest CVEs
  • CVE-2026-9813: FlowIntel SSRF Vulnerability

  • CVE-2026-4377: D-Link DWR-X1820 Auth Bypass Vulnerability

  • CVE-2026-47074: ex_aws_sns Auth Bypass Vulnerability

  • CVE-2026-46241: Linux Kernel Use-After-Free Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today 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