TinaCMS admin preview iframe loads an attacker-controlled origin from the URL fragment
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| tinacms | tinacms | affected |
|
||||||
| @tinacms | app | affected |
|
No data.
No data.
| Vendor | Product | Versions | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Tina | App |
|
||||||||
| Tina | Tinacms |
|
| Source | ID | Title |
|---|---|---|
Github GHSA |
GHSA-x34j-47hf-4xg7 | TinaCMS admin preview iframe loads an attacker-controlled origin from the URL fragment |
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.197% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Tina
Tina app Tina tinacms |
|
| Vendors & Products |
Tina
Tina app Tina tinacms |
| Type | Values Removed | Values Added |
|---|---|---|
| Description | Tina is a headless content management system. Prior to tinacms 3.14.0 and @tinacms/app 2.5.14, the /~/* admin preview route in packages/tinacms/src/admin/index.tsx can turn an attacker-controlled hash-router splat into an off-origin iframe URL through packages/@tinacms/app/src/preview.tsx, while packages/@tinacms/app/src/lib/preview-origin.ts derives expectedOrigin from that same URL for the GraphQL message channel in packages/@tinacms/app/src/lib/graphql-reducer.ts. An unauthenticated attacker can send a crafted link to a signed-in editor, cause the admin to frame an attacker origin, and have that frame treated as the trusted preview. The attacker-controlled frame can submit GraphQL reads or mutations that the admin executes with the editor credentials, exposing or modifying protected content. This issue is fixed in tinacms 3.14.0 and @tinacms/app 2.5.14. | |
| Title | TinaCMS admin preview iframe loads an attacker-controlled origin from the URL fragment | |
| Weaknesses | CWE-346 CWE-441 CWE-601 |
|
| References |
|
|
| Metrics |
cvssV3_1
|