PluginProbe
Photonic Gallery & Lightbox for Flickr, SmugMug & Others / 3.37
Photonic Gallery & Lightbox for Flickr, SmugMug & Others v3.37
3.37 3.36 3.35 3.34 3.33 2.19 2.20 2.21 2.22 2.23 2.24 2.25 2.26 2.27 2.28 2.29 2.30 2.31 2.32 2.33 2.34 2.40 2.41 2.42 2.43 All 142 releases
← All changes | include/js/front-end/src/Core.js +1 -1 3.33 → 3.37 View file →
@@ -223,9 +223,9 @@
223 223 const thumbs = document.querySelectorAll('.photonic-stream a, a.photonic-level-2-thumb');
224 224 thumbs.forEach((thumb) => {
225 225 if (!thumb.parentNode.classList.contains('photonic-header-title')) {
226 226 const title = thumb.getAttribute('title');
227 - // Not doing a Util.getText, which uses innerHTML, which is susceptible to XSS
227 + // Not doing innerHTML, which is susceptible to XSS
228 228 thumb.setAttribute('title', Util.getText(title));
229 229 const dataTitle = thumb.getAttribute('data-title')
230 230 thumb.setAttribute('data-title', Util.HTMLSanitizer.SanitizeHTML(dataTitle));
231 231 }