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

VariantIncomplete

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.

View on MITRE
Back to CWE Lookup

Extended Description

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.

Technical Details

Structure
Simple

Applicable To

Languages
Not Language-Specific
Platforms

Learn More