GHSA-3527-qv2q-pfvx · 深刻度: medium · エコシステム: composer — league/commonmark contains a XSS vulnerability in Attributes extension
league/commonmark is a PHP Markdown parser. A cross-site scripting (XSS) vulnerability in the Attributes extension of the league/commonmark library (versions 1.5.0 through 2.6.x) allows remote attackers to insert malicious JavaScript calls into HTML. The league/commonmark library provides configuration options such as `html_input: 'strip'` and `allow_unsafe_links: false` to mitigate cross-site scripting (XSS) attacks by stripping raw HTML and disallowing unsafe links. However, when the Attributes Extension is enabled, it introduces a way for users to inject arbitrary HTML attributes into elements via Markdown syntax using curly braces. Version 2.7.0 contains three changes to prevent this XSS attack vector: All attributes starting with `on` are considered unsafe and blocked by default; support for an explicit allowlist of allowed HTML attributes; and manually-added `href` and `src` attributes now respect the existing `allow_unsafe_links` configuration option. If upgrading is not feasible, please consider disabling the `AttributesExtension` for untrusted users and/or filtering the rendered HTML through a library like HTMLPurifier.
総合評価: CVE-2025-46734 は低リスク(32.9/100)。CVSS 深刻度は中。悪用される可能性が高い(EPSS 0.29%、20 パーセンタイル) 推奨対応: 悪用情報と EPSS の推移を監視し、必要に応じて優先度を見直してください。
リスクは変動します。再評価に基づき、本ページの表示内容を更新しています。
EPSS は日次で悪用されやすさの相対度合いを推定します。パーセンタイルは採点済み CVE の中での相対位置(高いほど相対的に深刻)を示します。
| # | 日付 | 旧 EPSS スコア | 新 EPSS スコア | Δ(新 − 旧) |
|---|---|---|---|---|
| 1 | 2026-06-15 | 0.03% | 0.29% | +0.26% |
| 2 | 2026-06-13 | 0.05% | 0.03% | -0.02% |
| 3 | 2026-03-01 | — | 0.05% | — |
EPSS の全履歴 (全 6 件)
この CVE の CVSS 指標。
| ベーススコア | バージョン | 深刻度 | ベクトル | 悪用しやすさ | 影響 | スコアの出典 |
|---|---|---|---|---|---|---|
| 6.4 | 3.1 | MEDIUM |
|
3.1 | 2.7 | [email protected] |
GHSA-3527-qv2q-pfvx · 深刻度: medium · エコシステム: composer — league/commonmark contains a XSS vulnerability in Attributes extension
| vendor | priority | summary | link |
|---|---|---|---|
debian
|
not yet assigned | CVE-2025-46734 not yet assigned priority: Debian including 1 source packages (php-league-commonmark), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 4, open 1. | https://security-tracker.debian.org/tracker/CVE-2025-46734 |
ubuntu
|
medium | CVE-2025-46734 medium priority: Ubuntu including 1 source packages (php-league-commonmark), 7 status rows across 7 suites (focal, jammy, noble, oracular, plucky, questing, upstream): needs-triage 4, ignored 3. | https://ubuntu.com/security/CVE-2025-46734 |
| ベンダー | 製品 | バージョン | 生の CPE |
|---|---|---|---|
| データセットに影響を受ける製品はありません。 | |||