No. We mostly played by the rules in wc3. Back in the day we used the so called return bug which years later was shown to be able to be used for arbitrary code execution. This was quickly fixed but we got new natives to account for this loss. [1]
Not as long ago there was another bug found which could be abused to run arbitrary bytecode [2] but that again was fixed a patch or two later and nowadays i don't know of any way to run any non-jass/non-lua code.
We mostly get changes in the natives provided by wc3 in newer patches which sometimes break backwards compability. [3]
[1]: https://en.wikipedia.org/wiki/JASS#Return_Bug_Security_Vulne...
[2]: https://www.hiveworkshop.com/threads/accessing-memory-from-t...
[3]: https://www.hiveworkshop.com/threads/1-28-x-era-versions-bre...