#1153680 libweb-simple-perl: CVE-2026-120212

Package:
src:libweb-simple-perl
Source:
src:libweb-simple-perl
Submitter:
Salvatore Bonaccorso
Date:
2026-11-13 23:19:02 UTC
Severity:
normal
Tags:
#1153680#5
Date:
2026-11-10 21:32:47 UTC
From:
To:
Hi,

The following vulnerability was published for libweb-simple-perl.

CVE-2026-120212[0]:
| Web::Simple versions before 0.037 for Perl do not escape single
| quotes in HTML::Tags output.  HTML::Tags and XML::Tags escape a
| plain string value by replacing only &, ", < and > with entities. A
| value interpolated into a single-quoted attribute, as in <a
| href='$value'>, can therefore close the attribute and add new ones,
| such as an event handler. Double-quoted attributes are not affected.
| An attacker who controls a value that an application interpolates
| into a single-quoted attribute can inject script into the generated
| page.


If you fix the vulnerability please also make sure to include the
CVE (Common Vulnerabilities & Exposures) id in your changelog entry.

For further information see:

[0] https://security-tracker.debian.org/tracker/CVE-2026-120212
https://www.cve.org/CVERecord?id=CVE-2026-120212
[1] https://github.com/p5sagit/Web-Simple/commit/de0b7743f7015ec2c1c678dfdaa4bc6f5ccfb640
[2] https://lists.security.metacpan.org/cve-announce/msg/45042131/

Please adjust the affected versions in the BTS as needed.

Regards,
Salvatore

#1153680#10
Date:
2026-11-13 23:16:37 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
libweb-simple-perl, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1153680@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
gregor herrmann <gregoa@debian.org> (supplier of updated libweb-simple-perl package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Fri, 13 Nov 2026 23:37:44 +0100
Source: libweb-simple-perl
Architecture: source
Version: 0.037-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Perl Group <pkg-perl-maintainers@lists.alioth.debian.org>
Changed-By: gregor herrmann <gregoa@debian.org>
Closes: 1153680
Changes:
 libweb-simple-perl (0.037-1) unstable; urgency=medium
 .
   * Import upstream version 0.037.
     - escape single quotes in entities (CVE-2026-120212)
     Closes: #1153680
Checksums-Sha1:
 7a365d3fbede92384ecf8a42f9eb9e624d116cbd 2786 libweb-simple-perl_0.037-1.dsc
 dc958d8c9da4f5cc529928e3a87184b7a3e3f1c1 61518 libweb-simple-perl_0.037.orig.tar.gz
 baf7770acc3d48124677220c3bba576bd21a2164 4132 libweb-simple-perl_0.037-1.debian.tar.xz
 f0b91f224ac29cc8bfd317451f165df508195da4 118560 libweb-simple-perl_0.037-1.git.tar.xz
 c792f1fb67c77a6aa960ba33bda75824754ed2b8 17786 libweb-simple-perl_0.037-1_source.buildinfo
Checksums-Sha256:
 f28a323fb32dee9ea9d737920e01d4022ddb023705c6fad357d3a76a01d5cd94 2786 libweb-simple-perl_0.037-1.dsc
 16ece25a3cbccef6c21f6f27a62aaeb3c70483b4a7e5778cae17447b194c3ab0 61518 libweb-simple-perl_0.037.orig.tar.gz
 705e578636756ffcf87b1975996899a97449085ef6dfc090b7811b2a0daeae6d 4132 libweb-simple-perl_0.037-1.debian.tar.xz
 6f04665b6a62d889aaaf3aec3f45b1c87192f8ea029d292f97c25ac890179498 118560 libweb-simple-perl_0.037-1.git.tar.xz
 d519bace7dbef69357c858eea2ff7e158ede93761553e37c6ad67d6ebefc7f86 17786 libweb-simple-perl_0.037-1_source.buildinfo
Files:
 41c3dfca00a8191d5eb5e8305618c4a6 2786 perl optional libweb-simple-perl_0.037-1.dsc
 7411a8c31758407f1d2c32662bb4b595 61518 perl optional libweb-simple-perl_0.037.orig.tar.gz
 237e449bf6b53d4b1b990cbdd26902c1 4132 perl optional libweb-simple-perl_0.037-1.debian.tar.xz
 305d8e14891ce61705f53639a307e999 118560 perl None libweb-simple-perl_0.037-1.git.tar.xz
 40eb1d38eb2dd2890ecc0046d4bf07a9 17786 perl optional libweb-simple-perl_0.037-1_source.buildinfo
Git-Tag-Info: tag=c611725766f9f2801159eadf529f45c64d97c5b8 fp=d1e1316e93a760a8104d85fabb3a68018649aa06
Git-Tag-Tagger: gregor herrmann <gregoa@debian.org>
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEN02M5NuW6cvUwJcqYG0ITkaDwHkFAmr3k4UACgkQYG0ITkaD
wHluIw//ak2s1FIyi0v66uL5AkDjM0OfoklMiIdjAC5bbV3ApaWTcxZ3uZgGHdpr
B6jMCxmyHldr+68yK5sIXZolXkKjG31CbFtpgK/xOZeYBCBf2SzABne8igtxkoHK
8JYxsSvGoJFhn64q8H4yF17sXMq5ImyfvGoYPYAjYrXcoxQbRogGLqTxaB7xlbMY
upC4kk5dxP3jeRpgahGgqRU30Bd7AGu40PJPhwBoYpNha+yrxfiZ/CGEcmZdF3jo
2MID2ecJMj/vOmny/f0tZlbiRX/MoM+xIyZTOjjtJoNXID444jFSIc3yQLjd/cHH
4Lj71NLGSPJ4s34qsTA8drnRQmoZTptcYzveK7LcZ5jtxXIg0fmAjv9QxWi6QIXA
x5EmjvGFFOo6smuHynPznu1q2WDrXGArkuilApG26ANXr9ts+LjRLJjjeIChPYDw
guEODVvYndEMqK4sMO7LngrawYztIK4G5Ri1FDT3YwtY4iq1r7KK9KcmfaJCQRwt
v5AxRs5iPpXwOxUkZmHdZuOlL9PjgDe2+R/nnjbFlkNCkHLGrfhQZPXHdjEVhWCz
lNlV3LAFQq7ROVVAWT6QMSX0eMMWBCo6x1v2AObwx1sF8mUg6lO78ODlyShMeqnn
svRpXLJV9dszeAwzypG4mZ4Vhm4TxZL68yOuu5/iXAk/C/eOb3I=
=441h
-----END PGP SIGNATURE-----