CVE-2026-120638

Public on 2026-11-04
Modified on 2026-11-05
Description
CGI versions before 5.00 for Perl allow open redirects via HTML entity decoding of the URL after application validation in redirect.

redirect decodes HTML entities in its URL before writing the Location header, so a URL the application has already validated can change meaning. For example, //evil.example/ becomes //evil.example/ and sends the user to another host.
Severity
Medium severity
Medium
See what this means
CVSS v3 Base Score
6.1
See breakdown

Affected Packages

Platform Package Release Date Advisory Status
Amazon Linux 2 - Core perl-CGI 2026-11-19 ALAS2-2026-4140 Fixed
Amazon Linux 2023 perl-CGI 2026-11-12 ALAS2023-2026-3436 Fixed
Amazon Linux 2027 Preview perl-CGI 2026-11-12 ALAS2027-2026-337 Fixed

CVSS Scores

Score Type Score Vector
Amazon Linux CVSSv3 6.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N