-
- Downloads
Escape namespace in label references
When referencing cross-namespace labels, we append the namespace name to the rendered label. This MR escapes the name to prevent XSS attacks.
Showing
- changelogs/unreleased/security-fix-xss-in-label-namespace.yml 5 additions, 0 deletions...gelogs/unreleased/security-fix-xss-in-label-namespace.yml
- lib/banzai/filter/label_reference_filter.rb 1 addition, 1 deletionlib/banzai/filter/label_reference_filter.rb
- spec/lib/banzai/filter/label_reference_filter_spec.rb 9 additions, 0 deletionsspec/lib/banzai/filter/label_reference_filter_spec.rb
Please register or sign in to comment