The "export" function in the Certificate Viewer can force local filesystem navigation when the "common name" in a certificate contains slashes, allowing certificate content to be saved in unsafe locations with an arbitrary filename. This vulnerability affects Firefox < 51.
https://www.mozilla.org/security/advisories/mfsa2017-01/
https://bugzilla.mozilla.org/show_bug.cgi?id=1017616