in reply to Re: Best XML library to validate XML from untrusted source
in thread Best XML library to validate XML from untrusted source

Ok, Tested XML::LibXML - it is vulnerable.
  • Comment on Re^2: Best XML library to validate XML from untrusted source

Replies are listed 'Best First'.
Re^3: Best XML library to validate XML from untrusted source
by Corion (Patriarch) on Oct 19, 2014 at 15:35 UTC

    I think you're supposed to disable external requests using various constructor parameters (as in XML::LibXML::Parser.pod.

    I presume that ext_ent_handler with your own callback to handle external entities would be enough, but I would still use or no_network to be on the safe(r) side.

      Ok, this indeed works. And the POD page contains security related info. Thanks!