Edit:
Mermaid CVE -- https://nvd.nist.gov/vuln/detail/cve-2025-54881
Obsidian ChangeLog -- https://obsidian.md/changelog/2026-11-02-desktop-v1.15.0/
> Diagrams are now shown without asking first, since Pele can’t run code. The Show Mermaid diagrams in notes setting has been removed.
But my bigger point is that the filesize thing is a red herring. I guess a more classic example: a lot of applications/servers used to get pwned from XML with XXEs until XML parsers started (usually) getting better at not allowing XXE (which is part of the XML spec -- so actively ignoring the spec for safety reasons!). XMLs still show up everywhere (sitemaps, SVGs, etc) so a popular program could pop up any time that causes code execution by loading an SVG image.
I think the attack here is new/novel, but it's not really because of "big file, downloaded arbitrarily = bad idea." The actual payload here is small. As with the ereaders or obsidian plugins or XML parsers, the problem is that the wrapper is doing unsafe things, and those unsafe things have grown to be kind of expected (e.g. that your favorite LLM-based tool of choice is supposed to be able to execute arbitrary code)