---
title: "CVE-2026-120212"
canonical_url: "https://pkgseek.com/security/CVE-2026-120212"
locale: "zh-CN"
source: "pkgseek"
entity_type: "cve"
severity: "medium"
---

# CVE-2026-120212

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 &, ", &lt; and &gt; with entities. A value interpolated into a single-quoted attribute, as in &lt;a href='$value'&gt;, 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.

CVE-2026-120212 严重级别为 MEDIUM (5.4)，共索引 1 条受影响软件包构建记录，涉及 1 个发行版。

- **级别 / 评分**: MEDIUM (5.4)
- **受影响构建数**: 1
- **涉及发行版**: 1
- **已标明修复版本发行版**: 暂无已标明修复记录

## Affected Packages

| Distribution | Release | Package | Version | Fixed In |
| --- | --- | --- | --- | --- |
| Debian | trixie | libweb-simple-perl | 0.033-2 | — |
