Saturday 05 December 2026 05:54:03 GMT+01:00

Netcrook

HomeManifesto
News
Techcrook
Geocrook
WikicrookTeamAppContact
EnglishItaliano

WIKICROOK

XML serialization

The process of converting XML data into a transmittable or storable format.

XML serialization converts structured XML data into a byte or text representation that can be stored or transmitted. The process may involve choices about encoding, escaping, namespaces, and how elements and attributes are written. Different serializers or parsers can interpret edge cases differently, making consistent handling important.

In cyber security, unsafe or inconsistent serialization can change how content is interpreted across systems. For example, an image transformation service that reads and rewrites an SVG (an XML-based image format) may produce output that a browser handles differently from the original. Attackers may try to exploit such differences, especially when the content is cached or redirected and delivered from a trusted website. Defenses include using well-maintained XML libraries, validating and sanitizing content after transformation, and testing the exact output as browsers will receive it.

← WIKICROOK index