Stored-XSS injected in Wiki page via Banzai pipeline
该报告还没有中文解读。
原文摘录
摘自原文(9329 字符中的一小部分)
I found a vulnerability in [AbstractReferenceFilter](https://gitlab.com/gitlab-org/gitlab/blob/4c3239a8b20a104a15e067f208f269f65dbee927/lib/banzai/filter/references/abstract_reference_filter.rb) class that can be exploited to inject any HTML elements leading to stored-XSS.
原文中的代码
# https://gitlab.com/gitlab-org/gitlab/blob/4c3239a8b20a104a15e067f208f269f65dbee927/lib/banzai/filter/references/abstract_reference_filter.rb#L116
def call
...
link_pattern_start = /\A#{link_pattern}/
...
nodes.each_with_index do |node, index| …默认不展示报告全文。以上为简短摘录,完整复现过程请阅读原文。版权归研究员与 GitLab 所有。
时间线
- 报告提交
- 公开披露
阅读 HackerOne 原文 ↗作者 @yvvdwf · 版权归作者与 GitLab 所有