mirror of
https://github.com/bitwarden/browser
synced 2026-01-05 18:13:26 +00:00
use swal titletext to avoid XSS (#884)
This commit is contained in:
@@ -53,7 +53,7 @@ export class NativeMessagingService {
|
||||
|
||||
// Await confirmation that fingerprint is correct
|
||||
const submitted = await Swal.fire({
|
||||
title: this.i18nService.t('verifyBrowserTitle'),
|
||||
titleText: this.i18nService.t('verifyBrowserTitle'),
|
||||
html: `${this.i18nService.t('verifyBrowserDesc')}<br><br><strong>${fingerprint}</strong>`,
|
||||
showCancelButton: true,
|
||||
cancelButtonText: this.i18nService.t('cancel'),
|
||||
|
||||
Reference in New Issue
Block a user