—
GO-2026-5039
Arbitrary inputs are included in errors without any escaping in net/textproto
Quick fix
GO-2026-5039 — stdlib: upgrade to the fixed version with the command below.
go get stdlib@v1.25.11 Details
When returning errors, functions in the net/textproto package would include its input as part of the error. This might allow an attacker to inject misleading content to errors that are printed or logged.
Are you affected?
Enter the version of the package you're using.