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

# CVE-2026-86431

league/commonmark (thephpleague/commonmark) versions &gt;= 2.7.0 and &lt; 2.9.1 contain a cross-site scripting vulnerability in the AttributesExtension. Prefixing an attribute name with a single U+000C form feed byte (e.g. {\\x0Conclick="alert(1)"}) bypasses the AttributesHelper::filterAttributes() 'on*' event-handler filter because PHP's trim() does not strip U+000C, causing the attribute to be written verbatim into the output where browsers parse it as a genuine event handler. The same prefix also defeats the allow_unsafe_links check, allowing javascript: URIs through href/src attributes even when …

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

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

## Affected Packages

| Distribution | Release | Package | Version | Fixed In |
| --- | --- | --- | --- | --- |
| Debian | trixie | php-league-commonmark | 2.7.0-1+deb13u1 | — |
