{"action":"created","issue":{"url":"https://api.github.com/repos/PublicaMundi/ckanext-publicamundi/issues/155","labels_url":"https://api.github.com/repos/PublicaMundi/ckanext-publicamundi/issues/155/labels{/name}","comments_url":"https://api.github.com/repos/PublicaMundi/ckanext-publicamundi/issues/155/comments","events_url":"https://api.github.com/repos/PublicaMundi/ckanext-publicamundi/issues/155/events","html_url":"https://github.com/PublicaMundi/ckanext-publicamundi/issues/155","id":90930773,"number":155,"title":"Protect against XXE libxml vulnerability","user":{"login":"drmalex07","id":603737,"avatar_url":"https://avatars.githubusercontent.com/u/603737?v=3","gravatar_id":"","url":"https://api.github.com/users/drmalex07","html_url":"https://github.com/drmalex07","followers_url":"https://api.github.com/users/drmalex07/followers","following_url":"https://api.github.com/users/drmalex07/following{/other_user}","gists_url":"https://api.github.com/users/drmalex07/gists{/gist_id}","starred_url":"https://api.github.com/users/drmalex07/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/drmalex07/subscriptions","organizations_url":"https://api.github.com/users/drmalex07/orgs","repos_url":"https://api.github.com/users/drmalex07/repos","events_url":"https://api.github.com/users/drmalex07/events{/privacy}","received_events_url":"https://api.github.com/users/drmalex07/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-06-25T11:06:03Z","updated_at":"2015-06-25T17:04:40Z","closed_at":null,"body":"Ensure no external (XXE) entities are resolved while parsing XML streams"},"comment":{"url":"https://api.github.com/repos/PublicaMundi/ckanext-publicamundi/issues/comments/115324844","html_url":"https://github.com/PublicaMundi/ckanext-publicamundi/issues/155#issuecomment-115324844","issue_url":"https://api.github.com/repos/PublicaMundi/ckanext-publicamundi/issues/155","id":115324844,"user":{"login":"smanousopoulos","id":6594936,"avatar_url":"https://avatars.githubusercontent.com/u/6594936?v=3","gravatar_id":"","url":"https://api.github.com/users/smanousopoulos","html_url":"https://github.com/smanousopoulos","followers_url":"https://api.github.com/users/smanousopoulos/followers","following_url":"https://api.github.com/users/smanousopoulos/following{/other_user}","gists_url":"https://api.github.com/users/smanousopoulos/gists{/gist_id}","starred_url":"https://api.github.com/users/smanousopoulos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smanousopoulos/subscriptions","organizations_url":"https://api.github.com/users/smanousopoulos/orgs","repos_url":"https://api.github.com/users/smanousopoulos/repos","events_url":"https://api.github.com/users/smanousopoulos/events{/privacy}","received_events_url":"https://api.github.com/users/smanousopoulos/received_events","type":"User","site_admin":false},"created_at":"2015-06-25T17:04:40Z","updated_at":"2015-06-25T17:04:40Z","body":"We need to make sure everytime an XML is parsed from an external source an XML parser with resolve_entities=False should be passed\r\n\r\nparser = etree.XMLParser(resolve_entities=False)\r\n\r\netree.fromstring(e, parser)\r\netree.parse(f, parser)"}}