From 39acad1d90d0606865ed62c92f9020c52cabf4f1 Mon Sep 17 00:00:00 2001 From: wolfbeast Date: Thu, 23 Nov 2017 09:02:55 +0100 Subject: [PATCH] Add missing sanitization for HTML exporting of bookmarks. --- toolkit/components/places/BookmarkHTMLUtils.jsm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/toolkit/components/places/BookmarkHTMLUtils.jsm b/toolkit/components/places/BookmarkHTMLUtils.jsm index a009a5e7c8..2285aae6e7 100644 --- a/toolkit/components/places/BookmarkHTMLUtils.jsm +++ b/toolkit/components/places/BookmarkHTMLUtils.jsm @@ -1145,7 +1145,7 @@ BookmarkExporter.prototype = { if (aItem.charset) this._writeAttribute("LAST_CHARSET", escapeHtmlEntities(aItem.charset)); if (aItem.tags) - this._writeAttribute("TAGS", aItem.tags); + this._writeAttribute("TAGS", escapeHtmlEntities(aItem.tags)); this._writeLine(">" + escapeHtmlEntities(aItem.title) + ""); this._writeDescription(aItem, aIndent); },