Improper Input ValidationWeakness · CWE-20

CVE-2026-53723

MEDIUM · 5.8 CVSS v3.1 Published 2026-06-11
Mitigation only
No fix yet — a mitigation exists. There is no fixed release. A documented workaround reduces exposure in the meantime.
See remediation →
67/100
Remediation priority · Elevated
Remotely reachable No privileges Zero-click

Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.

NVD · unedited
Guzzle Services provides an implementation of the Guzzle Command library that uses Guzzle service descriptions to describe web services, serialize requests, and parse responses into easy to use model structures. Versions prior ro 1.5.4 do 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: the application uses `guzzlehttp/guzzle-services` to serialize outgoing requests; a request parameter or `additionalParameters` schema uses `location: xml`; the value is serialized as XML element text, not an XML attribute; the value can contain attacker-controlled, user-controlled, tenant-controlled, or otherwise untrusted input; the value is not constrained by a safe `enum`, `pattern`, or custom filter that excludes `]]>`; and the downstream service parses the generated XML structurally and may act on unexpected, duplicated, or injected elements. Applications that serialize untrusted input into `location: xml` request parameters can emit XML containing attacker-controlled elements outside the intended text node. Depending on the receiving service, this can alter operation semantics, smuggle privileged fields, bypass modeled parameter boundaries, or create conflicting duplicated elements. Fixed service descriptions are sufficient if they contain an XML element parameter populated from attacker-controlled input. Users are not directly affected if they only use Guzzle Services to deserialize HTTP response bodies. Response XML parsing uses the response XML location visitor and does not invoke the vulnerable request XML serializer. Response bodies matter only in a second-order flow, such as parsing attacker-controlled response XML, storing or forwarding a parsed string value, and later using it as a `location: xml` request parameter. The issue is patched in `1.5.3` and later by safely splitting embedded CDATA terminators before serialization. The fix preserves the original scalar value as XML text and prevents injected nodes. As a workaround, 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. Where appropriate for the service schema, XML attributes are not affected because they are written with XMLWriter attribute APIs rather than CDATA sections. To determine whether action is needed, search service descriptions for request parameters using `location: xml`, including operation `parameters` and `additionalParameters`. Response-only `models` are not directly affected unless parsed values are reused for request serialization. For object and array parameters, review nested scalar properties because leaf element values can still be affected.

Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.

dbcve analysis · high confidence

Guzzle Services versions before 1.5.4 do not safely serialize scalar XML element values containing the CDATA terminator `]]>`. When serializing XML requests, values with `<`, `>`, or `&` are written using `XMLWriter::writeCData()`. If attacker-controlled input contains `]]>`, the CDATA section closes early and the remainder is interpreted as XML markup, allowing injection of unexpected elements into the outgoing request body.

MitigationUpgrade guzzlehttp/guzzle-services to version 1.5.4 or later; alternatively, constrain untrusted `location: xml` parameter values with enum, pattern, or custom filters that exclude `]]>`.

Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.

CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.

From the vector
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Scope
Changed
Confidentiality
None
Integrity
Low
Availability
None

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:L/A:N

Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.

dbcve checks

Work through these to decide whether this CVE applies to you.

  1. Identify guzzle-services version
    Run `composer show guzzlehttp/guzzle-services` or check your composer.lock file for the installed version of guzzlehttp/guzzle-services
    Affected if The installed version is before 1.5.4 (e.g., 1.5.3, 1.5.2, 1.5.0, or any 1.x version below 1.5.4)
  2. Confirm XML location is in use
    Search your service description files (typically .json or .php files defining Guzzle service descriptions) for `location: xml` entries that define XML request body parameters
    Affected if Your service descriptions contain any `location: xml` parameter definitions that serialize to the request body
  3. Check for user input in XML parameters
    Review your application code that calls the Guzzle service and identify if any `location: xml` parameter values are populated from user input (request headers, query params, POST body, or API clients)
    Affected if Untrusted or user-controlled data is assigned to XML parameters in your service requests
  4. Inspect for CDATA-triggering characters
    Trace the data flow from user input sources to XML parameter values; look for code paths where values containing <, >, or & could be set, as these trigger the vulnerable XMLWriter::writeCData() code path
    Affected if User input can reach XML parameters that may contain <, >, or & characters, which triggers CDATA encoding
  5. Verify CDATA terminator filtering
    Search for any existing input validation, sanitization, or filtering that removes or encodes the string `]]>` before it is passed to XML parameters
    Affected if No validation exists to reject or strip `]]>` from input that flows into XML request parameters

You are affected if guzzle-services version is below 1.5.4 AND your application uses location: xml parameters with untrusted input that could contain the CDATA terminator sequence.

Generated from the published advisory. Verify against your own configuration.

Check your environment

Paste your version and any relevant configuration and it will be compared against the affected criteria above. Do not include secrets or credentials.

AI-assisted, checked against the advisory. Informational, not a guarantee.

Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.

dbcve · scoped
Mitigation available No clean upgrade yet — mitigate in the meantime
Mitigation

Upgrade guzzlehttp/guzzle-services to version 1.5.4 or later; alternatively, constrain untrusted `location: xml` parameter values with enum, pattern, or custom filters that exclude `]]>`.

Recommended fix High confidence

guzzlehttp/guzzle-services version 1.5.3 or later

  1. 1. Identify all usages of guzzlehttp/guzzle-services in your project by checking your composer.json dependencies
  2. 2. Run `composer show guzzlehttp/guzzle-services --available` to check available versions
  3. 3. Update the package to version 1.5.3 or later using `composer require guzzlehttp/guzzle-services:^1.5.3`
  4. 4. Verify the installation: `composer show guzzlehttp/guzzle-services` to confirm the installed version
  5. 5. Test your application's XML request serialization functionality to ensure the fix works correctly
  6. 6. Search your service descriptions (JSON or PHP files) for parameters with `location: xml` to identify any untrusted input paths that could be affected
  7. 7. Run your application's test suite to verify no regressions were introduced
Caveat Minimal risk - the fix is backward-compatible and preserves original scalar values; however, review any custom CDATA handling or XML serialization tests

Generated from the published advisory — verify against the referenced sources before acting.

Have this fixed Scoped from the published advisory
  • Consultation3.0 h
  • Implementation6.0 h
  • Testing3.0 h
  • Review / QA2.0 h
14.0 hours of engineering $2,490
Get help mitigating

An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $3,984.

Scan for this in your stack

Free · runs locally
dbcve dependency scanner

Check whether your project pulls in CVE-2026-53723 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.

References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.

Primary sources

Practitioner notes

Contributed

Peer-ranked notes from engineers who’ve handled CVE-2026-53723 in production — separate from our analysis above.

No notes yet

Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.

What this is

A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.

What belongs here
  • Verified mitigations, workarounds, and config changes
  • Version or environment caveats, and links to real fixes
  • No weaponised exploit code, or anything meant to cause harm
  • No spam, self-promotion, credentials, or personal data