---
id: CVE-2022-2880
aliases:
  - GO-2022-1038
  - BIT-golang-2022-2880
title: Incorrect sanitization of forwarded query parameters in net/http/httputil
summary: Incorrect sanitization of forwarded query parameters in net/http/httputil
severity: none
vendor: stdlib
product: stdlib
ecosystem: go
affected:
  - 'stdlib >= 1.19.0-0, < 1.19.2'
patched:
  - stdlib 1.19.2
published: '2022-10-06'
updated: '2026-07-15'
source: OSV
sourceUrl: 'https://osv.dev/vulnerability/GO-2022-1038'
references:
  - url: 'https://go.dev/issue/54663'
  - url: 'https://go.dev/cl/432976'
  - url: 'https://groups.google.com/g/golang-announce/c/xtuG5faxtaU'
tags:
  - osv
  - go
epss: 0.0117
epssPercentile: 0.66033
ingestedAt: '2026-07-16T18:59:42.692Z'
---

## Overview

Requests forwarded by ReverseProxy include the raw query parameters from the inbound request, including unparsable parameters rejected by net/http. This could permit query parameter smuggling when a Go proxy forwards a parameter with an unparsable value.

After fix, ReverseProxy sanitizes the query parameters in the forwarded query when the outbound request's Form field is set after the ReverseProxy. Director function returns, indicating that the proxy has parsed the query parameters. Proxies which do not parse query parameters continue to forward the original query parameters unchanged.

## Affected packages

- `stdlib >= 1.19.0-0, < 1.19.2`

## Remediation

Upgrade to a patched release:

- `stdlib 1.19.2`
