DEV Community

Cover image for Why you are being XML attacked and how to stop it.
Beey
Beey

Posted on

Why you are being XML attacked and how to stop it.

What is an XML attack?

An XML attack is when a hacker finds frontend XML that can tamper the backend and because the XML is on the frontend they can edit it.

How to prevent XML attacks

Preventing XML attacks from the frontend to enhance your security requires steps.

  • Make the XML file on the backend not frontend
  • Use encryption
  • Follow Industry-Standard security tips
  • Turn off DTDS(Document Type Definitions)
  • Validate data against a strict schema
  • Disable external entity processing

Not all security tips are included.

Sources

These are the sources of the information

English

Cheetsheatseries

Top comments (0)