# GHSA-QMWQ-C476-X7Q2: Summary @opentelemetry/instrumentation-fetch and @opentelemetry/instrumentation-xml-http-request record the request URL verbatim in the url.full attribute of outgoing (client) spans

- Database: GitHub
- Severity: CVSS 5.3 (Medium)
- Published: 2026-11-12
- Modified: 2026-11-12

## Affected versions

- @opentelemetry/instrumentation-fetch (npm): through 0.301.1
- @opentelemetry/instrumentation-xml-http-request (npm): through 0.301.1
- @opentelemetry/instrumentation-xml-http-request (npm): through 0.223.1
- @opentelemetry/instrumentation-fetch (npm): through 0.223.1

## Description

### Summary

`@opentelemetry/instrumentation-fetch` and `@opentelemetry/instrumentation-xml-http-request` record the request URL verbatim in the `url.full` attribute of **outgoing (client) spans**. Neither package redacts credentials embedded in the URL (`https://user:pass@host/`) or known sensitive query parameters, so signed URLs requested from the browser — AWS presigned-URL signatures, Azure SAS tokens (`sig`), GCS signed-URL signatures — are exported in plaintext to the configured tracing backend.

This is the browser counterpart of [GHSA-3v2p-hm54-8qcq](https://github.com/open-telemetry/opentelemetry-js/security/advisories/GHSA-3v2p-hm54-8qcq). Unlike `@opentelemetry/instrumentation-http`, these packages offered **no option** to enable redaction.

### Impact

**Information disclosure / credential leakage** (CWE-200; CWE-532, insertion of sensitive information into telemetry data).

**Who is impacted:** any web application instrumented with `@opentelemetry/instrumentation-fetch` or `@opentelemetry/instrumentation-xml-http-request` — directly or transitively via `@opentelemetry/auto-instrumentations-web` or third-party browser distributions built on these packages — that issues `fetch()` or `XMLHttpRequest` calls to URLs carrying credentials. The common case is direct-to-object-storage uploads and downloads using presigned S3/GCS URLs or Azure SAS URLs.

**Consequence:** still-valid credentials are written into client spans and stored by the tracing backend, readable by anyone with span-read access — observability vendor infrastructure, dashboard users, and internal audiences far broader than the credential's intended scope. Presigned URLs typically remain valid for minutes to days after capture; a leaked presigned `PUT` URL also allows writing to the target object.

**Severity:** Moderate. Exploitation requires read access to the telemetry backend, and requested URLs must actually carry credentials. The behavior contradicts the semantic conventions, which state that `url.full` MUST NOT contain credentials passed in the URL and that values of known sensitive query parameters SHOULD be redacted by default.

### Patches

This vulnerability has been patched in `@opentelemetry/instrumentation-fetch` and `@opentelemetry/instrumentation-xml-http-request` versions `0.301.2` and `0.223.2`.
Credentials in the URL and known sensitive query string values (as defined by Semantic Conventions: `sig`, `Signature`, `AWSAccessKeyId`, `X-Goog-Signature`, `X-Amz-Signature`, `X-Amz-Credential`, `X-Amz-Security-Token`) are now redacted from `url.full`.

### References

- https://github.com/open-telemetry/opentelemetry-js/security/advisories/GHSA-qmwq-c476-x7q2
- https://github.com/open-telemetry/opentelemetry-js/security/advisories/GHSA-3v2p-hm54-8qcq
- https://github.com/open-telemetry/opentelemetry-js/commit/4bba985a5b2a62223bf7eae73cfaaaad0b9909a0

## References

- https://github.com/open-telemetry/opentelemetry-js/security/advisories/GHSA-qmwq-c476-x7q2

Page: https://cve.now/GHSA-QMWQ-C476-X7Q2

Wrong or missing data? Send feedback: POST https://cve.now/api/v1/feedback (see https://cve.now/agents#feedback).
