登录
注册
开源
企业版
高校版
搜索
帮助中心
使用条款
关于我们
开源
企业版
高校版
私有云
模力方舟
AI 队友
登录
注册
轻量养虾,开箱即用!低 Token + 稳定算力,Gitee & 模力方舟联合出品的 PocketClaw 正式开售!点击了解详情
代码拉取完成,页面将自动刷新
仓库状态说明
捐赠
捐赠前请先登录
取消
前往登录
扫描微信二维码支付
取消
支付完成
支付提示
将跳转至支付宝完成支付
确定
取消
Watch
不关注
关注所有动态
仅关注版本发行动态
关注但不提醒动态
6
Star
0
Fork
4
src-openEuler
/
python-commonmark
关闭
代码
Issues
3
Pull Requests
0
Wiki
统计
流水线
服务
JavaDoc
PHPDoc
质量分析
Jenkins for Gitee
腾讯云托管
腾讯云 Serverless
悬镜安全
阿里云 SAE
Codeblitz
SBOM
开发画像分析
我知道了,不再自动展开
更新失败,请稍后重试!
移除标识
内容风险标识
本任务被
标识为内容中包含有代码安全 Bug 、隐私泄露等敏感信息,仓库外成员不可访问
CVE-2025-46734
待办的
#IC5JLA
CVE和安全问题
openeuler-ci-bot
拥有者
创建于
2025-05-06 08:55
一、漏洞信息 漏洞编号:[CVE-2025-46734](https://nvd.nist.gov/vuln/detail/CVE-2025-46734) 漏洞归属组件:[python-commonmark](https://gitee.com/src-openeuler/python-commonmark) 漏洞归属的版本:0.9.1 CVSS V3.0分值: BaseScore:N/A None Vector:CVSS:3.0/ 漏洞简述: 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. 漏洞公开时间:2025-05-06 04:15:21 漏洞创建时间:2025-05-06 08:55:52 漏洞详情参考链接: https://nvd.nist.gov/vuln/detail/CVE-2025-46734 <details> <summary>更多参考(点击展开)</summary> | 参考来源 | 参考链接 | 来源链接 | | ------- | -------- | -------- | | security-advisories.github.com | https://github.com/thephpleague/commonmark/commit/f0d626cf05ad3e99e6db26ebcb9091b6cd1cd89b | | | security-advisories.github.com | https://github.com/thephpleague/commonmark/security/advisories/GHSA-3527-qv2q-pfvx | | </details> 漏洞分析指导链接: https://gitee.com/openeuler/cve-manager/blob/master/cve-vulner-manager/doc/md/manual.md 漏洞数据来源: openBrain开源漏洞感知系统 漏洞补丁信息: <details> <summary>详情(点击展开)</summary> | 影响的包 | 修复版本 | 修复补丁 | 问题引入补丁 | 来源 | | ------- | -------- | ------- | -------- | --------- | | | | https://github.com/thephpleague/commonmark/commit/f0d626cf05ad3e99e6db26ebcb9091b6cd1cd89b | | security-advisories.github.com | </details> 二、漏洞分析结构反馈 影响性分析说明: 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. openEuler评分: 6.4 Vector:CVSS:3.0/ 受影响版本排查(受影响/不受影响): 1.master(0.9.1):不受影响 2.openEuler-20.03-LTS-SP4(0.9.1):不受影响 3.openEuler-22.03-LTS-SP3(0.9.1):不受影响 4.openEuler-22.03-LTS-SP4(0.9.1):不受影响 5.openEuler-24.03-LTS(0.9.1):不受影响 6.openEuler-24.03-LTS-Next(0.9.1):不受影响 7.openEuler-24.03-LTS-SP1(0.9.1):不受影响 8.openEuler-24.03-LTS-SP2(0.9.1):不受影响 修复是否涉及abi变化(是/否): 1.master(0.9.1):否 2.openEuler-20.03-LTS-SP4(0.9.1):否 3.openEuler-22.03-LTS-SP3(0.9.1):否 4.openEuler-22.03-LTS-SP4(0.9.1):否 5.openEuler-24.03-LTS(0.9.1):否 6.openEuler-24.03-LTS-Next(0.9.1):否 7.openEuler-24.03-LTS-SP1(0.9.1):否 8.openEuler-24.03-LTS-SP2(0.9.1):否 9.master(0.9.1): 10.openEuler-20.03-LTS-SP4(0.9.1): 11.openEuler-22.03-LTS-SP3(0.9.1): 12.openEuler-22.03-LTS-SP4(0.9.1): 13.openEuler-24.03-LTS(0.9.1): 14.openEuler-24.03-LTS-Next(0.9.1): 15.openEuler-24.03-LTS-SP1(0.9.1): 16.openEuler-24.03-LTS-SP2(0.9.1): 17.master(0.9.1): 18.openEuler-20.03-LTS-SP4(0.9.1): 19.openEuler-22.03-LTS-SP3(0.9.1): 20.openEuler-22.03-LTS-SP4(0.9.1): 21.openEuler-24.03-LTS(0.9.1): 22.openEuler-24.03-LTS-Next(0.9.1): 23.openEuler-24.03-LTS-SP1(0.9.1): 24.openEuler-24.03-LTS-SP2(0.9.1): 25.master(0.9.1): 26.openEuler-20.03-LTS-SP4(0.9.1): 27.openEuler-22.03-LTS-SP3(0.9.1): 28.openEuler-22.03-LTS-SP4(0.9.1): 29.openEuler-24.03-LTS(0.9.1): 30.openEuler-24.03-LTS-Next(0.9.1): 31.openEuler-24.03-LTS-SP1(0.9.1): 32.openEuler-24.03-LTS-SP2(0.9.1): 33.master(0.9.1): 34.openEuler-20.03-LTS-SP4(0.9.1): 35.openEuler-22.03-LTS-SP3(0.9.1): 36.openEuler-22.03-LTS-SP4(0.9.1): 37.openEuler-24.03-LTS(0.9.1): 38.openEuler-24.03-LTS-Next(0.9.1): 39.openEuler-24.03-LTS-SP1(0.9.1): 40.openEuler-24.03-LTS-SP2(0.9.1): 41.master(0.9.1): 42.openEuler-20.03-LTS-SP4(0.9.1): 43.openEuler-22.03-LTS-SP3(0.9.1): 44.openEuler-22.03-LTS-SP4(0.9.1): 45.openEuler-24.03-LTS(0.9.1): 46.openEuler-24.03-LTS-Next(0.9.1): 47.openEuler-24.03-LTS-SP1(0.9.1): 48.openEuler-24.03-LTS-SP2(0.9.1): 49.master(0.9.1): 50.openEuler-20.03-LTS-SP4(0.9.1): 51.openEuler-22.03-LTS-SP3(0.9.1): 52.openEuler-22.03-LTS-SP4(0.9.1): 53.openEuler-24.03-LTS(0.9.1): 54.openEuler-24.03-LTS-Next(0.9.1): 55.openEuler-24.03-LTS-SP1(0.9.1): 56.openEuler-24.03-LTS-SP2(0.9.1): 57.master(0.9.1): 58.openEuler-20.03-LTS-SP4(0.9.1): 59.openEuler-22.03-LTS-SP3(0.9.1): 60.openEuler-22.03-LTS-SP4(0.9.1): 61.openEuler-24.03-LTS(0.9.1): 62.openEuler-24.03-LTS-Next(0.9.1): 63.openEuler-24.03-LTS-SP1(0.9.1): 64.openEuler-24.03-LTS-SP2(0.9.1): 65.master(0.9.1): 66.openEuler-20.03-LTS-SP4(0.9.1): 67.openEuler-22.03-LTS-SP3(0.9.1): 68.openEuler-22.03-LTS-SP4(0.9.1): 69.openEuler-24.03-LTS(0.9.1): 70.openEuler-24.03-LTS-Next(0.9.1): 71.openEuler-24.03-LTS-SP1(0.9.1): 72.openEuler-24.03-LTS-SP2(0.9.1): 73.master(0.9.1): 74.openEuler-20.03-LTS-SP4(0.9.1): 75.openEuler-22.03-LTS-SP3(0.9.1): 76.openEuler-22.03-LTS-SP4(0.9.1): 77.openEuler-24.03-LTS(0.9.1): 78.openEuler-24.03-LTS-Next(0.9.1): 79.openEuler-24.03-LTS-SP1(0.9.1): 80.openEuler-24.03-LTS-SP2(0.9.1): 81.master(0.9.1): 82.openEuler-20.03-LTS-SP4(0.9.1): 83.openEuler-22.03-LTS-SP3(0.9.1): 84.openEuler-22.03-LTS-SP4(0.9.1): 85.openEuler-24.03-LTS(0.9.1): 86.openEuler-24.03-LTS-Next(0.9.1): 87.openEuler-24.03-LTS-SP1(0.9.1): 88.openEuler-24.03-LTS-SP2(0.9.1): 89.master(0.9.1): 90.openEuler-20.03-LTS-SP4(0.9.1): 91.openEuler-22.03-LTS-SP3(0.9.1): 92.ma 原因说明: 1.master(0.9.1): 2.openEuler-20.03-LTS-SP4(0.9.1): 3.openEuler-22.03-LTS-SP3(0.9.1): 4.openEuler-22.03-LTS-SP4(0.9.1): 5.openEuler-24.03-LTS(0.9.1): 6.openEuler-24.03-LTS-Next(0.9.1): 7.openEuler-24.03-LTS-SP1(0.9.1): 8.openEuler-24.03-LTS-SP2(0.9.1):
一、漏洞信息 漏洞编号:[CVE-2025-46734](https://nvd.nist.gov/vuln/detail/CVE-2025-46734) 漏洞归属组件:[python-commonmark](https://gitee.com/src-openeuler/python-commonmark) 漏洞归属的版本:0.9.1 CVSS V3.0分值: BaseScore:N/A None Vector:CVSS:3.0/ 漏洞简述: 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. 漏洞公开时间:2025-05-06 04:15:21 漏洞创建时间:2025-05-06 08:55:52 漏洞详情参考链接: https://nvd.nist.gov/vuln/detail/CVE-2025-46734 <details> <summary>更多参考(点击展开)</summary> | 参考来源 | 参考链接 | 来源链接 | | ------- | -------- | -------- | | security-advisories.github.com | https://github.com/thephpleague/commonmark/commit/f0d626cf05ad3e99e6db26ebcb9091b6cd1cd89b | | | security-advisories.github.com | https://github.com/thephpleague/commonmark/security/advisories/GHSA-3527-qv2q-pfvx | | </details> 漏洞分析指导链接: https://gitee.com/openeuler/cve-manager/blob/master/cve-vulner-manager/doc/md/manual.md 漏洞数据来源: openBrain开源漏洞感知系统 漏洞补丁信息: <details> <summary>详情(点击展开)</summary> | 影响的包 | 修复版本 | 修复补丁 | 问题引入补丁 | 来源 | | ------- | -------- | ------- | -------- | --------- | | | | https://github.com/thephpleague/commonmark/commit/f0d626cf05ad3e99e6db26ebcb9091b6cd1cd89b | | security-advisories.github.com | </details> 二、漏洞分析结构反馈 影响性分析说明: 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. openEuler评分: 6.4 Vector:CVSS:3.0/ 受影响版本排查(受影响/不受影响): 1.master(0.9.1):不受影响 2.openEuler-20.03-LTS-SP4(0.9.1):不受影响 3.openEuler-22.03-LTS-SP3(0.9.1):不受影响 4.openEuler-22.03-LTS-SP4(0.9.1):不受影响 5.openEuler-24.03-LTS(0.9.1):不受影响 6.openEuler-24.03-LTS-Next(0.9.1):不受影响 7.openEuler-24.03-LTS-SP1(0.9.1):不受影响 8.openEuler-24.03-LTS-SP2(0.9.1):不受影响 修复是否涉及abi变化(是/否): 1.master(0.9.1):否 2.openEuler-20.03-LTS-SP4(0.9.1):否 3.openEuler-22.03-LTS-SP3(0.9.1):否 4.openEuler-22.03-LTS-SP4(0.9.1):否 5.openEuler-24.03-LTS(0.9.1):否 6.openEuler-24.03-LTS-Next(0.9.1):否 7.openEuler-24.03-LTS-SP1(0.9.1):否 8.openEuler-24.03-LTS-SP2(0.9.1):否 9.master(0.9.1): 10.openEuler-20.03-LTS-SP4(0.9.1): 11.openEuler-22.03-LTS-SP3(0.9.1): 12.openEuler-22.03-LTS-SP4(0.9.1): 13.openEuler-24.03-LTS(0.9.1): 14.openEuler-24.03-LTS-Next(0.9.1): 15.openEuler-24.03-LTS-SP1(0.9.1): 16.openEuler-24.03-LTS-SP2(0.9.1): 17.master(0.9.1): 18.openEuler-20.03-LTS-SP4(0.9.1): 19.openEuler-22.03-LTS-SP3(0.9.1): 20.openEuler-22.03-LTS-SP4(0.9.1): 21.openEuler-24.03-LTS(0.9.1): 22.openEuler-24.03-LTS-Next(0.9.1): 23.openEuler-24.03-LTS-SP1(0.9.1): 24.openEuler-24.03-LTS-SP2(0.9.1): 25.master(0.9.1): 26.openEuler-20.03-LTS-SP4(0.9.1): 27.openEuler-22.03-LTS-SP3(0.9.1): 28.openEuler-22.03-LTS-SP4(0.9.1): 29.openEuler-24.03-LTS(0.9.1): 30.openEuler-24.03-LTS-Next(0.9.1): 31.openEuler-24.03-LTS-SP1(0.9.1): 32.openEuler-24.03-LTS-SP2(0.9.1): 33.master(0.9.1): 34.openEuler-20.03-LTS-SP4(0.9.1): 35.openEuler-22.03-LTS-SP3(0.9.1): 36.openEuler-22.03-LTS-SP4(0.9.1): 37.openEuler-24.03-LTS(0.9.1): 38.openEuler-24.03-LTS-Next(0.9.1): 39.openEuler-24.03-LTS-SP1(0.9.1): 40.openEuler-24.03-LTS-SP2(0.9.1): 41.master(0.9.1): 42.openEuler-20.03-LTS-SP4(0.9.1): 43.openEuler-22.03-LTS-SP3(0.9.1): 44.openEuler-22.03-LTS-SP4(0.9.1): 45.openEuler-24.03-LTS(0.9.1): 46.openEuler-24.03-LTS-Next(0.9.1): 47.openEuler-24.03-LTS-SP1(0.9.1): 48.openEuler-24.03-LTS-SP2(0.9.1): 49.master(0.9.1): 50.openEuler-20.03-LTS-SP4(0.9.1): 51.openEuler-22.03-LTS-SP3(0.9.1): 52.openEuler-22.03-LTS-SP4(0.9.1): 53.openEuler-24.03-LTS(0.9.1): 54.openEuler-24.03-LTS-Next(0.9.1): 55.openEuler-24.03-LTS-SP1(0.9.1): 56.openEuler-24.03-LTS-SP2(0.9.1): 57.master(0.9.1): 58.openEuler-20.03-LTS-SP4(0.9.1): 59.openEuler-22.03-LTS-SP3(0.9.1): 60.openEuler-22.03-LTS-SP4(0.9.1): 61.openEuler-24.03-LTS(0.9.1): 62.openEuler-24.03-LTS-Next(0.9.1): 63.openEuler-24.03-LTS-SP1(0.9.1): 64.openEuler-24.03-LTS-SP2(0.9.1): 65.master(0.9.1): 66.openEuler-20.03-LTS-SP4(0.9.1): 67.openEuler-22.03-LTS-SP3(0.9.1): 68.openEuler-22.03-LTS-SP4(0.9.1): 69.openEuler-24.03-LTS(0.9.1): 70.openEuler-24.03-LTS-Next(0.9.1): 71.openEuler-24.03-LTS-SP1(0.9.1): 72.openEuler-24.03-LTS-SP2(0.9.1): 73.master(0.9.1): 74.openEuler-20.03-LTS-SP4(0.9.1): 75.openEuler-22.03-LTS-SP3(0.9.1): 76.openEuler-22.03-LTS-SP4(0.9.1): 77.openEuler-24.03-LTS(0.9.1): 78.openEuler-24.03-LTS-Next(0.9.1): 79.openEuler-24.03-LTS-SP1(0.9.1): 80.openEuler-24.03-LTS-SP2(0.9.1): 81.master(0.9.1): 82.openEuler-20.03-LTS-SP4(0.9.1): 83.openEuler-22.03-LTS-SP3(0.9.1): 84.openEuler-22.03-LTS-SP4(0.9.1): 85.openEuler-24.03-LTS(0.9.1): 86.openEuler-24.03-LTS-Next(0.9.1): 87.openEuler-24.03-LTS-SP1(0.9.1): 88.openEuler-24.03-LTS-SP2(0.9.1): 89.master(0.9.1): 90.openEuler-20.03-LTS-SP4(0.9.1): 91.openEuler-22.03-LTS-SP3(0.9.1): 92.ma 原因说明: 1.master(0.9.1): 2.openEuler-20.03-LTS-SP4(0.9.1): 3.openEuler-22.03-LTS-SP3(0.9.1): 4.openEuler-22.03-LTS-SP4(0.9.1): 5.openEuler-24.03-LTS(0.9.1): 6.openEuler-24.03-LTS-Next(0.9.1): 7.openEuler-24.03-LTS-SP1(0.9.1): 8.openEuler-24.03-LTS-SP2(0.9.1):
评论 (
7
)
登录
后才可以发表评论
状态
待办的
待办的
已挂起
进行中
已完成
已拒绝
负责人
未设置
陈棋德
dillon_chen
负责人
协作者
+负责人
+协作者
标签
CVE/UNFIXED
sig/Base-service
未设置
项目
未立项任务
未立项任务
里程碑
未关联里程碑
未关联里程碑
Pull Requests
未关联
未关联
关联的 Pull Requests 被合并后可能会关闭此 issue
分支
未关联
分支 (
-
)
标签 (
-
)
开始日期   -   截止日期
-
置顶选项
不置顶
置顶等级:高
置顶等级:中
置顶等级:低
优先级
不指定
严重
主要
次要
不重要
预计工期
(小时)
参与者(2)
1
https://gitee.com/src-openeuler/python-commonmark.git
git@gitee.com:src-openeuler/python-commonmark.git
src-openeuler
python-commonmark
python-commonmark
点此查找更多帮助
搜索帮助
Git 命令在线学习
如何在 Gitee 导入 GitHub 仓库
Git 仓库基础操作
企业版和社区版功能对比
SSH 公钥设置
如何处理代码冲突
仓库体积过大,如何减小?
如何找回被删除的仓库数据
Gitee 产品配额说明
GitHub仓库快速导入Gitee及同步更新
什么是 Release(发行版)
将 PHP 项目自动发布到 packagist.org
评论
仓库举报
回到顶部
登录提示
该操作需登录 Gitee 帐号,请先登录后再操作。
立即登录
没有帐号,去注册