CWEweakness

CWE-942 Permissive Cross-domain Security Policy with Untrusted Domains

Official page ↗
Abstraction
Variant
Structure
Simple
Status
Incomplete
Languages
Not Language-Specific
CWE version
5.0

Description

The product uses a web-client protection mechanism such as a Content Security Policy (CSP) or cross-domain policy file, but the policy includes untrusted domains with which the web client is allowed to communicate.

Common consequences

• Confidentiality, Integrity, Availability, Access Control: Execute Unauthorized Code or Commands, Bypass Protection Mechanism, Read Application Data, Varies by Context — If a cross-domain policy file includes domains that should not be trusted, such as when using wildcards under a high-level domain, then the application could be attacked by these untrusted domains. In many cases, the attack can be launched without the victim even being aware of it. With an overly permissive policy file, an attacker may be able to bypass the web browser's same-origin policy and conduct many of the same attacks seen in Cross-Site Scripting (CWE-79). An attacker can exploit the weakness to transfer private information from the victim's machine to the attacker, manipulate or steal cookies that may include session information, create malicious requests to a web site on behalf of the victim, or execute malicious code on the end user systems. Other damaging attacks include the disclosure of end user files, installation of Trojan horse programs, redirecting the user to some other page or site, running ActiveX controls (under Microsoft Internet Explorer) from sites that a user perceives as trustworthy, and modifying presentation of content.

Potential mitigations

• [Architecture and Design, Operation] Define a restrictive Content Security Policy [REF-1486] or cross-domain policy file. • [Architecture and Design, Operation] Avoid using wildcards in the CSP / cross-domain policy file. Any domain matching the wildcard expression will be implicitly trusted, and can perform two-way interaction with the target server. • [Architecture and Design, Operation] For Flash, modify crossdomain.xml to use meta-policy options such as 'master-only' or 'none' to reduce the possibility of an attacker planting extraneous cross-domain policy files on a server.

Detection methods

• Automated Static Analysis: Automated static analysis, commonly referred to as Static Application Security Testing (SAST), can find some instances of this weakness by analyzing source code (or binary/compiled code) without having to execute it. Typically, this is done by building a model of data flow and control flow, then searching for potentially-vulnerable patterns that connect "sources" (origins of input) with "sinks" (destinations where the data interacts with external components, a lower layer such as the OS, etc.)

Observed examples

• CVE-2012-2292: Product has a Silverlight cross-domain policy that does not restrict access to another application, which allows remote attackers to bypass the Same Origin Policy. • CVE-2014-2049: The default Flash Cross Domain policies in a product allow remote attackers to access user files. • CVE-2007-6243: Chain: Adobe Flash Player does not sufficiently restrict the interpretation and usage of cross-domain policy files, which makes it easier for remote attackers to conduct cross-domain and cross-site scripting (XSS) attacks. • CVE-2008-4822: Chain: Adobe Flash Player and earlier does not properly interpret policy files, which allows remote attackers to bypass a non-root domain policy. • CVE-2010-3636: Chain: Adobe Flash Player does not properly handle unspecified encodings during the parsing of a cross-domain policy file, which allows remote web servers to bypass intended access restrictions via unknown vectors.

Related

Observed example · CVE (5)

  • CVE-2014-2049 The default Flash Cross Domain policies in ownCloud before 5.0.15 and 6.x before 6.0.2 allows remote attackers to access user files via… vulnerability
  • CVE-2012-2292 The Silverlight cross-domain policy in EMC RSA Archer SmartSuite Framework 4.x and RSA Archer GRC 5.x before 5.2SP1 does not restrict… vulnerability
  • CVE-2010-3636 Adobe Flash Player before 9.0.289.0 and 10.x before 10.1.102.64 on Windows, Mac OS X, Linux, and Solaris, and 10.1.95.1 on Android, does… vulnerability
  • CVE-2008-4822 Adobe Flash Player 9.0.124.0 and earlier does not properly interpret policy files, which allows remote attackers to bypass a non-root… vulnerability
  • CVE-2007-6243 Adobe Flash Player 9.x up to 9.0.48.0, 8.x up to 8.0.35.0, and 7.x up to 7.0.70.0 does not sufficiently restrict the interpretation and… vulnerability

Can precede · CWE (1)

  • CWE-668 Exposure of Resource to Wrong Sphere weakness

Child of · CWE (3)

  • CWE-183 Permissive List of Allowed Inputs weakness
  • CWE-863 Incorrect Authorization weakness
  • CWE-923 Improper Restriction of Communication Channel to Intended Endpoints weakness

Referenced by CVE · weakness (146)

  • CVE-2026-110737 The push endpoint of a Vaadin application that uses server push reflects the request Origin into the Access-Control-Allow-Origin response… vulnerability
  • CVE-2026-115917 vLLM is an inference and serving engine for large language models. vulnerability
  • CVE-2026-116748 Transmission 4.0.0 before 4.1.3 contains a permissive CORS vulnerability in handle_request() in rpc-server.cc that exposes the… vulnerability
  • CVE-2026-107858 Missing Origin Validation in WebSockets (CWE-1385) and Permissive Cross-domain Policy with Untrusted Domains (CWE-942) in the development… vulnerability
  • CVE-2026-3303 IBM Concert 1.0 through 3.0.0 uses cross-origin resource sharing (CORS) which could allow an attacker to carry out privileged actions as… vulnerability
  • CVE-2026-84176 Permissive Cross-domain Policy with Untrusted Domains vulnerability in Apache Camel Platform HTTP Vertx component. vulnerability
  • CVE-2026-85313 Permissive Cross-domain Policy with Untrusted Domains vulnerability in Apache Camel Jetty component. vulnerability
  • CVE-2026-111922 Vikunja from 2.2.0 before 2.7.0 contains a permissive CORS configuration that trusts every localhost and 127.0.0.1 port with credentials,… vulnerability
  • CVE-2026-108372 Open and provider-neutral, LoopX is a lightweight state kernel and local-first control plane for loop engineering. vulnerability
  • CVE-2026-55842 Scoold is a Q&A and a knowledge sharing platform for teams. vulnerability
  • CVE-2026-66247 iControl is affected by an insecure Cross-Origin Resource Sharing (CORS) policy vulnerability, which could allow a malicious website to… vulnerability
  • CVE-2026-66070 RabbitMQ is a messaging and streaming broker. vulnerability
  • CVE-2026-90882 The open-vsx.org deployment returned Access-Control-Allow-Origin reflecting the requesting origin together with… vulnerability
  • CVE-2026-56595 HCL BigFix Service Management is affected by a CORS Misconfiguration vulnerability due to improperly validated origin headers, which could… vulnerability
  • CVE-2026-89058 A flaw was found in RESTEasy's CorsFilter, which, when configured to allow all origins ("*"), reflects the request's Origin header back in… vulnerability
  • CVE-2026-92359 A security flaw has been discovered in ag-ui-protocol ag-ui 0.3.0. vulnerability
  • CVE-2026-82438 Description Three separate mechanisms allowed a web page on an unrelated origin to read responses that Storm's HTTP components served to an… vulnerability
  • CVE-2026-12962 A Permissive Cross-domain Security Policy with Untrusted Domains in Armoury Crate allows a remote user to obtain a local user's NTLM hash… vulnerability
  • CVE-2026-62895 Permissive cross-domain policy with untrusted domains in Azure Arc allows an unauthorized attacker to elevate privileges over a network. vulnerability
  • CVE-2026-53649 Joro is a web exploitation framework. vulnerability
  • CVE-2026-84452 Windows ML CLI is a command line tool for building portable, performant, and high-quality AI models for Windows ML. vulnerability
  • CVE-2026-82287 Rybbit before 2.7.0 contains a CORS misconfiguration vulnerability that allows attackers to bypass origin restrictions by reflecting any… vulnerability
  • CVE-2026-82291 HeyForm before 3.0.0-rc.8 reflects the request Origin header in CORS responses while allowing credentials, enabling cross-origin requests… vulnerability
  • CVE-2025-61163 Cohere North AI v1.1.5 was discovered to contain excessively permissive cross-domain policy with untrusted domains. vulnerability
  • CVE-2026-53656 FiftyOne is an open-source platform for refining high-quality datasets and visual AI models. vulnerability
  • CVE-2026-63407 Grav API Plugin is a RESTful API for Grav CMS that provides full headless access to your site's content. vulnerability
  • CVE-2026-68517 Glances is an open-source system cross-platform monitoring tool. vulnerability
  • CVE-2026-74881 openssl_encrypt versions before 1.4.0 configure CORS with allow_origins set to wildcard and allow_credentials enabled to true. vulnerability
  • CVE-2026-18676 The default kuma-cp configuration in Kong Mesh reveals the admin bootstrap token and signing keys to any webpage the operator visits while… vulnerability
  • CVE-2026-46409 OpenYak is a local-first agent runtime for reliable tool-using models, with a desktop workspace built on top. vulnerability
Show all 146 ›

Referenced by OWASP · mapped cwe (3)

  • A02:2025 Security Misconfiguration Top 10 2025
  • API8:2023 Security Misconfiguration API Security Top 10 2023
  • A05:2021 Security Misconfiguration Top 10 2021