CVE-2026-120212
Common Vulnerabilities and Exposures record
Summary
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.
Risk
- CVSS
- 5.4
- Severity
- MEDIUM
- Vector
- CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
Timeline
- Published
- Nov 10, 2026 18:17
- Modified
- Nov 16, 2026 18:17
- Last observed
- Nov 16, 2026 14:00