XXE Flaws Stem From Parser Settings; Disabling DTD Processing Is the Fix
The article explains that XML External Entity (XXE) injection can affect an application's XML import feature when the parser runs on default settings. It describes a safe lab-only probe that checks whether the parser resolves an external entity, without reading sensitive data. The author argues that string-based filtering of uploads is unreliable, and that the real remedy is configuring the parser itself, such as disabling DTD processing or using hardened libraries like defusedxml. The piece also notes that many file formats, including SVG, DOCX and XLSX, rely on XML internally and can reach parsers unexpectedly.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.


Discussion (0)
Log in to join the discussion and vote.
Log in