Page MenuHomePhorge

Pull security fixes from Mozilla's fork

Asked by l2dy on Nov 6 2023, 13:20.


Mozilla's Phabricator fork addressed three vulnerabilities recently. We may want to merge some of their changes:

  1. D25464 Stored XSS via PDF files.

Further reading about this kind of vulnerability:

  1. T15665 "Possible XSS when downloading raw diffs from a revision"

I haven't figured out how it works yet. We have explicitly set MIME type to text/plain and special characters in filename are escaped or replaced with _ in generated URLs. Will investigate further if they make their bug report open to public.

  1. T15663 Profile transformation on private files makes it publicly accessible


Updated 102 Days Ago

Short answer! Yes, thanks!

To do that, I can suggest to just pull our Phorge, enter in our master, fetch also from Mozilla, and cherry-pick a commit from Mozilla, and propose that patch in Phorge. And we can review it together as usual.

For some reasons Phorge is quite active and there are big possibilities to have your work approved here, as you can see from this history:

(P.S. You are now a Trusted Contributors - thanks for your question and feel free to elevate these thing to Tasks under Security, so you don't need to create Questions anymore)

New Answer