discourse discourse_footnote 对异常条件的处理不恰当

admin 2023-11-30 15:40:50 Ali_nvd 来源:ZONE.CI 全球网 0 阅读模式
discourse discourse_footnote 对异常条件的处理不恰当

CVE编号

CVE-2021-43827

利用情况

暂无

补丁情况

N/A

披露时间

2021-12-15
漏洞描述
discourse-footnote is a library providing footnotes for posts in Discourse. ### Impact When posting an inline footnote wrapped in `<a>` tags (e.g. `<a>^[footnote]</a>`, the resulting rendered HTML would include a nested `<a>`, which is stripped by Nokogiri because it is not valid. This then caused a javascript error on topic pages because we were looking for an `<a>` element inside the footnote reference span and getting its ID, and because it did not exist we got a null reference error in javascript. Users are advised to update to version 0.2. As a workaround editing offending posts from the rails console or the database console for self-hosters, or disabling the plugin in the admin panel can mitigate this issue.
解决建议
建议您更新当前系统或软件至最新版,完成漏洞的修复。
参考链接
https://github.com/discourse/discourse-footnote/commit/796617e013127701120754...
https://github.com/discourse/discourse-footnote/security/advisories/GHSA-58vr...
受影响软件情况
# 类型 厂商 产品 版本 影响面
1
运行在以下环境
应用 discourse discourse_footnote * Up to (excluding) 0.2
CVSS3评分 4.3
  • 攻击路径 网络
  • 攻击复杂度 低
  • 权限要求 低
  • 影响范围 未更改
  • 用户交互 无
  • 可用性 低
  • 保密性 无
  • 完整性 无
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L
CWE-ID 漏洞类型
CWE-755 对异常条件的处理不恰当
- avd.aliyun.com
weinxin
版权声明
本站原创文章转载请注明文章出处及链接,谢谢合作!
N/A Ali_nvd

N/A

N/ACVE编号 CVE-2024-9120利用情况 暂无补丁情况 N/A披露时间 2024-09-23漏洞描述Use after free in Dawn
评论:0   参与:  0