Security Advisories (1)
CVE-2026-8368 (2026-05-12)

LWP::UserAgent versions before 6.83 for Perl leak Authorization and Proxy-Authorization headers on cross-origin redirects. On a 3xx response, the redirect handler strips only Host and Cookie before issuing the follow-up request. Caller-supplied Authorization and Proxy-Authorization headers are sent unchanged to the redirect target, including across scheme, host, or port changes. A redirect to an attacker controlled host therefore discloses the caller's credentials to that host.

Changes for version 6.70 - 2023-04-30

  • Add cookie_jar_class attribute to allow different cookie jar modules to be used more easily (GH#91) (Tom Hukins, Julien Fiegehenn)
  • POD now contains all default attributes (GH#428) (Julien Fiegehenn)

Documentation

Fetch large files from the web
See what headers and content is returned for a URL
Simple mirror utility
Simple command line user agent
The libwww-perl cookbook
An LWP Tutorial

Modules

LWP
The World-Wide Web library for Perl
Library for enabling NTLM authentication (Microsoft) in LWP
Connection cache manager
deprecated
Member access mixin class
Base class for LWP protocols
a class for well-behaved Web robots
simple procedural interface to LWP
Web user agent class

Provides

in lib/LWP/Authen/Basic.pm
in lib/LWP/Authen/Digest.pm
in lib/LWP/Debug/TraceHTTP.pm
in lib/LWP/DebugFile.pm
in lib/LWP/Protocol/cpan.pm
in lib/LWP/Protocol/data.pm
in lib/LWP/Protocol/file.pm
in lib/LWP/Protocol/ftp.pm
in lib/LWP/Protocol/gopher.pm
in lib/LWP/Protocol/http.pm
in lib/LWP/Protocol/loopback.pm
in lib/LWP/Protocol/mailto.pm
in lib/LWP/Protocol/nntp.pm
in lib/LWP/Protocol/nogo.pm