THREAT OPS › Threat News › [GHSA] GHSA-cp6q-959q-f8rh (medium) — Tiptap: mergeAttributes() turns an own __proto__ key into inherited executable DOM attributes
[GHSA] GHSA-cp6q-959q-f8rh (medium) — Tiptap: mergeAttributes() turns an own __proto__ key into inherited executable DOM attributes
GHSA-cp6q-959q-f8rh Severity: medium CVE: None
Tiptap: mergeAttributes() turns an own __proto__ key into inherited executable DOM attributes
## Summary
`@tiptap/core`'s public `mergeAttributes()` helper uses ordinary bracket assignment on keys returned by `Object.entries()`. An own `__proto__` key from JSON therefore invokes the legacy prototype setter on the fresh merged object. The function r
MITRE ATT&CK techniques
- JavaScriptT1059.007
Indicators of compromise
- ecadf7ea0a7f8f39a8496a60edf0ac8f379e6eb3sha1
Original source: https://github.com/advisories/GHSA-cp6q-959q-f8rh