Glossary — X

Back to glossary index · Master INDEX


XML (eXtensible Markup Language)

A markup language that looks superficially like HTML but is much stricter and meant for any kind of structured data. Largely replaced by JSON for new APIs. Still common in older systems (SOAP APIs, RSS feeds, Office documents under the hood, SVG).

<user>
  <name>George</name>
  <age>99</age>
</user>

See also: JSON, SVG


XSS (Cross-Site Scripting)

An attack where the attacker manages to run their JavaScript in another user’s browser, in the context of your site. Example: a comment field that doesn’t sanitize input, so an attacker submits <script>steal(document.cookie)</script> and every visitor who views the comment runs the script. React’s default behavior of escaping rendered text protects against most XSS — but dangerouslySetInnerHTML and trusted-but-untrusted HTML can re-open the door.

See also: XSS, OWASP top 10


← W · Glossary index · Y →