That holodeck was way to capable. If I'm not mistaken there was at least one instance when someone managed to build a transmitter on the holodeck and used that to send information from the Voyager to an enemy faction. If a holographic representation of a subspace transmitter can send an actual signal it makes me wonder if it would be possible to blow the ship up with a holographic bomb...
Then there was the episode where someone was playing with classic villains from literature in some adventure setting. When they were summoned to the bridge the simulation wasn't paused, as it usually would be, but kept running. What was worse was that for some reason one of the villains, I think it was Moriarty but that's just a guess, actually saw them call the portal and exit. This was enough for these supposedly super intelligent villains to figure out that not only were they simulations, but that there was a starship outside the holodeck, and that they could actually use portable hologenerators, once developed for the ships doctor,to allow them to leave the holodeck. Being programed to be villains they were of course planing on taking over the entire ship.
Those holodecks are ridiculously dangerous.