IA Squad
SearchPT
php · guzzlehttp/guzzle-servicesHeads-up

guzzlehttp/guzzle-services: CDATA injection via unsafe XML serialization

guzzlehttp/guzzle-services does not safely serialize scalar XML element values containing the CDATA terminator `]]>`, allowing attacker-controlled input to clos

12 Jun 2026Read 1 minSeverity: schedule it

What changed

guzzlehttp/guzzle-services does not safely serialize scalar XML element values containing the CDATA terminator `]]>`, allowing attacker-controlled input to close the CDATA section early and inject XML markup into outgoing requests.

Who it affects

Applications using guzzlehttp/guzzle-services to serialize outgoing requests with `location: xml` parameters where the value is serialized as XML element text and contains untrusted input not constrained by a safe `enum`, `pattern`, or custom filter that excludes `]]>`.

What to do today

Upgrade to version 1.5.4 or later, or constrain attacker-controlled XML element values with a strict `enum`, `pattern`, or custom filter that excludes `]]>`, or avoid serializing untrusted data into `location: xml` element text until patched.

The trail
Collected Audited Written Published