# CVE-2026-120212: Web::Simple versions before 0.037 for Perl do not escape single quotes in HTML::Tags output

- Severity: Medium 5.4 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.29%, higher than 22% of CVEs (2026-12-01)
- Published: 2026-11-10T17:42:05.207Z
- Modified: 2026-11-16T18:17:28.537Z
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: CPANSec

## Description

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.

(As written by CVE List.)

## Affected

- Web-Simple: before 0.037

## References

- <https://github.com/p5sagit/Web-Simple/commit/de0b7743f7015ec2c1c678dfdaa4bc6f5ccfb640.patch> (patch)
- <https://metacpan.org/release/ETHER/Web-Simple-0.037/changes> (release-notes)
- <https://www.cve.org/CVERecord?id=CVE-2026-5090> (related)

## Sources

- CVE List: [CVE-2026-120212](https://www.cve.org/CVERecord?id=CVE-2026-120212), CVE Terms of Use, modified 2026-11-16
- NVD: [CVE-2026-120212](https://nvd.nist.gov/vuln/detail/CVE-2026-120212), Public domain, modified 2026-11-16

---

Page: https://cve.day/CVE-2026-120212 · Whole record: https://cve.day/CVE-2026-120212.json · Rebuilt by cve.day 2026-11-25T22:59:49.811Z
