Closed pjfanning closed 5 years ago
@monitorjbl could you review this, if you get a chance?
There are two outstanding reviews already on this PR
I don't see the review items for this PR, would you be able to add the review comments again?
@monitorjbl can you reconsider merging this?
@pjfanning I ended up implementing this over the weekend, but I did it differently from your PR. I didn't realize what an entity expansion attack could do or how serious it was when you opened this or I would have jumped on this a lot sooner.
Copied over some POI code to protect the DOM parser from XML entity expansion attacks. The POI DocumentHelper code creates Namespace Aware parsers and these don't work in current excel-streaming-reader code (the XPath expressions don't have namespace prefixes, etc.).