This repository has been archived on 2023-03-18. You can view files and clone it, but cannot push or open issues or pull requests.
osr-discourse-src/app/assets/javascripts/select-kit/addon/templates/components
Blake Erickson fb019d1712
SECURITY: Multiple commits for Version bump 3.1.0.beta3 (#20707)
* SECURITY: Fix XSS in full name composer reply

We are using htmlSafe when rendering the name field so we need to escape
any html being passed in.

* SECURITY: Monkey-patch web-push gem to use safer HTTP client

`FinalDestination::HTTP` is our patch of `Net::HTTP` which defend us
against SSRF and DNS rebinding attacks.

* SECURITY: SSRF protection bypass with IPv4-mapped IPv6 addresses

As part of this commit, we've also expanded our list of private IP
ranges based on
https://www.iana.org/assignments/iana-ipv4-special-registry/iana-ipv4-special-registry.xhtml
and https://www.iana.org/assignments/iana-ipv6-special-registry/iana-ipv6-special-registry.xhtml

* SECURITY: XSS on chat excerpts

Non-markdown tags weren't being escaped in chat excerpts. This could be
triggered by editing a chat message containing a tag (self XSS), or by
replying to a chat message with a tag (XSS).

Co-authored-by: Jan Cernik <jancernik12@gmail.com>

* FIX: Escaped mentions in chat excerpts

Mentions are now displayed as using the non-cooked message which fixes
the problem. This is not ideal. I think we might want to rework how
these excerpts are created and rendered in the near future.

Co-authored-by: Jan Cernik <jancernik12@gmail.com>

* SECURITY: Add FinalDestination::FastImage that's SSRF safe

---------

Co-authored-by: Alan Guo Xiang Tan <gxtan1990@gmail.com>
Co-authored-by: Jan Cernik <jancernik12@gmail.com>
Co-authored-by: Ted Johansson <ted@discourse.org>
2023-03-16 14:04:46 -06:00
..
category-drop DEV: Apply prettier to hbs files 2022-12-28 13:11:12 +00:00
color-palettes DEV: Apply prettier to hbs files 2022-12-28 13:11:12 +00:00
combo-box DEV: Apply prettier to hbs files 2022-12-28 13:11:12 +00:00
dropdown-select-box DEV: Apply prettier to hbs files 2022-12-28 13:11:12 +00:00
future-date-input-selector DEV: Apply prettier to hbs files 2022-12-28 13:11:12 +00:00
mini-tag-chooser DEV: Apply prettier to hbs files 2022-12-28 13:11:12 +00:00
multi-select DEV: Apply prettier to hbs files 2022-12-28 13:11:12 +00:00
notifications-filter DEV: Apply prettier to hbs files 2022-12-28 13:11:12 +00:00
period-chooser DEV: Apply prettier to hbs files 2022-12-28 13:11:12 +00:00
select-kit DEV: Correct hbs prettier violations 2023-02-02 13:03:11 +00:00
tag-drop DEV: Apply prettier to hbs files 2022-12-28 13:11:12 +00:00
toolbar-popup-menu-options DEV: Apply prettier to hbs files 2022-12-28 13:11:12 +00:00
user-chooser DEV: Apply prettier to hbs files 2022-12-28 13:11:12 +00:00
category-row.hbs DEV: Apply prettier to hbs files 2022-12-28 13:11:12 +00:00
create-color-row.hbs DEV: Apply prettier to hbs files 2022-12-28 13:11:12 +00:00
email-group-user-chooser-row.hbs DEV: Correct hbs prettier violations 2023-02-02 13:03:11 +00:00
flair-row.hbs DEV: Apply prettier to hbs files 2022-12-28 13:11:12 +00:00
multi-select.hbs DEV: Apply prettier to hbs files 2022-12-28 13:11:12 +00:00
pinned-button.hbs DEV: Apply prettier to hbs files 2022-12-28 13:11:12 +00:00
selected-choice-category.hbs DEV: Apply prettier to hbs files 2022-12-28 13:11:12 +00:00
selected-choice.hbs DEV: Apply prettier to hbs files 2022-12-28 13:11:12 +00:00
selected-name.hbs DEV: Apply prettier to hbs files 2022-12-28 13:11:12 +00:00
single-select.hbs DEV: Apply prettier to hbs files 2022-12-28 13:11:12 +00:00
tag-chooser-row.hbs DEV: Apply prettier to hbs files 2022-12-28 13:11:12 +00:00
tag-row.hbs DEV: Apply prettier to hbs files 2022-12-28 13:11:12 +00:00
topic-notifications-button.hbs DEV: Apply prettier to hbs files 2022-12-28 13:11:12 +00:00
topic-row.hbs SECURITY: Multiple commits for Version bump 3.1.0.beta3 (#20707) 2023-03-16 14:04:46 -06:00