Security context

What an agent needs to avoid regressing past fixes and find the next vuln in this repo.

zeroclipboard/zeroclipboard
master @ f3174aa
6
Fixes
3
CVEs
HIGH
Peak severity
Highlights
Cross-Site Scripting (XSS): 5 prior fixes. Scrutinize any change in this area.
src/flash/ZeroClipboard.as: most-fixed (3 issues). Treat as high-risk during review.
5 high-severity fixes in this history; regressions here are high-impact.
Recurring patterns

The bug types that recur here, drawn from past fixes, not open vulnerabilities.

Cross-Site Scripting (XSS): Unsanitized FlashVars, unescaped clipboard data, and unvalidated ExternalInterface object IDs allow attackers to inject arbitrary JavaScript execution contexts through ActionScript's external communication layer. This vulnerability class accounts for multiple high-severity issues and published CVEs.
Auth Bypass: Incorrect origin matching rules or loose default trust configurations allow untrusted external domains to communicate with the Flash object, undermining origin isolation and exposing users to cross-origin scripting.
Cross-Site Scripting (XSS): Injecting dynamically configured container or bridge element IDs directly into the innerHTML of a temporary DOM div can lead to DOM-based XSS if the identifiers fail regex validation against standard HTML specifications.