iMessage is not being attacked because it's not as sandboxed as other apps. It's being attacked because it's accessible with zero clicks.
For an attack like this you need to chain an iMessage exploit with an LPE, and the LPE can be launched from any other app.