Medium, CVSS 5.8PackagistPublished
guzzlehttp/guzzle-services' XML Request Serialization Vulnerable to XML Injection via CDATA Terminator
CVE-2026-53723 · GHSA-q8r6-5hfw-5jff
- Affected
- Packagist guzzlehttp/guzzle-services < 1.5.4
- Fixed in
- 1.5.4· Vendor fix available
- Issue
- Impact guzzlehttp/guzzle-services does not safely serialize scalar XML element values containing the CDATA terminator ]]. The XML request serializer writes values containing <, , or & with XMLWriter::writeCData($value). If attacker-controlled input contains ]], the CDATA section closes early and the remainder is interpreted as XML markup. This is an outgoing request-body integrity issue, not a response parsing issue. The attacker does not need to control the service description or schema. Users are affected when all of the following are true: 1. The application uses guzzlehttp/guzzle-services to serialize outgoing requests. 2. A request parameter or additionalParameters schema uses location: xml. 3. The value is serialized as XML element text, not an XML attribute. 4. The value can contain attacker-controlled, user-controlled, tenant-controlled, or otherwise untrusted input. 5. The value is not constrained by a safe enum, pattern, or custom filter that excludes ]]. 6. The downstream…
Recommended action: Upgrade to 1.5.4 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.