CVE-2012-0767 — Adobe Flash Player Cross-Site Scripting (XSS) Vulnerability

CVE-2012-0767

Adobe Flash Player — Universal XSS via Flash Plugin Enables Same-Origin Policy Bypass on Any Flash-Hosting Site

What is Adobe Flash Player?

Adobe Flash Player was a ubiquitous browser plugin that enabled rich multimedia across virtually every platform. Because Flash runs embedded within web pages from any domain, it occupies a unique position in the browser's trust model — a Flash-based cross-site scripting (XSS) flaw can be exploited against any site that hosts Flash content, making it a "universal XSS" that bypasses the same-origin policy. Adobe discontinued Flash Player on December 31, 2020.

Overview

CVE-2012-0767 is a cross-site scripting (XSS) vulnerability (CWE-79) in Adobe Flash Player. The flaw allows an attacker to inject and execute malicious JavaScript in the context of any website that hosts Flash content. Because Flash Player is a browser plugin that runs within the trust context of the page that loaded it, an XSS in Flash can effectively be a same-origin policy (SOP) bypass — the malicious script executes with the privileges of the hosting domain, not the attacker's domain.

Adobe patched this in APSB12-03 (February 15, 2012), the same bulletin that fixed the memory corruption vulnerability CVE-2012-0754.

Affected Versions

Component Vulnerable Versions Fixed Version
Adobe Flash Player (Windows, Mac) 11.1.102.62 and earlier 11.1.102.55
Adobe Flash Player (Linux) Prior to APSB12-03 See APSB12-03
Adobe Flash Player (Android) Prior to APSB12-03 See APSB12-03
Adobe AIR 3.1.0.4880 and earlier See APSB12-03

Technical Details

Flash Player XSS vulnerabilities arise when Flash content (SWF files) can be made to execute attacker-supplied JavaScript in the browser context of the page hosting the Flash object. This is typically possible through:

  • Reflected XSS via Flash parameters: Flash objects can accept parameters (FlashVars) that, if not sanitized, can be used to inject HTML/JavaScript into the page
  • Cross-domain script injection: Flash's ExternalInterface.call() method can invoke JavaScript in the hosting page; if the SWF does not properly validate input before making this call, an attacker can inject script

Because the CVSS Scope is "Changed" (S:C), the impact extends beyond the Flash Player itself to the browser context — the attacker can execute JavaScript in the origin of any site that hosts Flash, potentially stealing cookies, session tokens, or performing actions on behalf of the victim user.

Discovery

The vulnerability was discovered alongside CVE-2012-0754 through security research and was included in the same emergency APSB12-03 advisory.

Exploitation Context

CISA confirmed in-the-wild exploitation. Flash XSS vulnerabilities were used in phishing and session hijacking campaigns — an attacker who can steal a victim's session cookie from a target site (bank, email provider, corporate application) can take over the account without needing credentials. The "universal" nature of Flash XSS (affecting any site hosting Flash) made this a powerful tool for targeted account compromise.

Remediation

Adobe Flash Player reached end-of-life on December 31, 2020. Organizations should:

  1. Verify Flash Player is completely removed from all endpoints
  2. Check via endpoint management tools for any remaining Flash installations
  3. Audit web applications that historically hosted Flash content — ensure Flash parameters and FlashVars are sanitized even in legacy applications, and replace Flash-based features with HTML5 equivalents
  4. Block .swf delivery via email and web content filtering

Key Details

PropertyValue
CVE ID CVE-2012-0767
Vendor / Product Adobe — Flash Player
NVD Published2012-02-16
NVD Last Modified2025-10-22
CVSS 3.1 Score6.1
CVSS 3.1 VectorCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
SeverityMEDIUM
CWE CWE-79 find similar ↗
CISA KEV Added2022-06-08
CISA KEV Deadline2022-06-22
Known Ransomware Use No

CVSS 3.1 Breakdown

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None

Required Action

CISA BOD 22-01 Deadline: 2022-06-22. The impacted product is end-of-life and should be disconnected if still in use.

Timeline

DateEvent
2012-02-15Adobe releases APSB12-03 patching both CVE-2012-0754 (memory corruption) and CVE-2012-0767 (XSS)
2012-02-16CVE-2012-0767 published
2022-06-08Added to CISA Known Exploited Vulnerabilities catalog
2022-06-22CISA BOD 22-01 remediation deadline

References

ResourceType
NVD — CVE-2012-0767 Vulnerability Database
CISA KEV Catalog Entry US Government
Adobe Security Bulletin APSB12-03 Vendor Advisory