From 69df8c876da9bb24f09969dd71f2e258c5a5ef47 Mon Sep 17 00:00:00 2001 From: Pale Moon Date: Thu, 23 Nov 2017 08:58:49 +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 d125368a24..8307c18218 100644 --- a/toolkit/components/places/BookmarkHTMLUtils.jsm +++ b/toolkit/components/places/BookmarkHTMLUtils.jsm @@ -1151,7 +1151,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); },