It is usually reasonably safe on modern PDF clients:
Firefox these days has a native renderer which reduces risks further.
That said, I would say the vast majority of Discourse forums do not need this enabled so I think the default we have is just fine.