Hi, is there a way to disable a core extension (office viewer / office macro)?
No because those are not loaded by XWiki but by the application server. All you can do right now is removing them from the WEB-INF/lib
folder.
Thanks for your answer, will have to do for now