<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Best way to handle XSS vulnerabilities in custom visuals in Custom Visuals Development Discussion</title>
    <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Best-way-to-handle-XSS-vulnerabilities-in-custom-visuals/m-p/159084#M25</link>
    <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="24366" data-lia-user-login="mjbellomo" class="lia-mention lia-mention-user"&gt;mjbellomo&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your feedback.&lt;/P&gt;&lt;P&gt;I think that you can use &lt;A href="https://github.com/leizongmin/js-xss" target="_blank"&gt;js-xss&lt;/A&gt;&amp;nbsp;to prevent a XSS injection.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Ignat Vilesov&lt;/STRONG&gt;,&lt;/P&gt;&lt;P&gt;Software Engineer&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Microsoft Power BI Custom Visuals&lt;/P&gt;&lt;P&gt;&lt;A href="mailto:pbicvsupport@microsoft.com" target="_blank"&gt;pbicvsupport@microsoft.com&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 14 Apr 2017 11:21:54 GMT</pubDate>
    <dc:creator>v-viig</dc:creator>
    <dc:date>2017-04-14T11:21:54Z</dc:date>
    <item>
      <title>Best way to handle XSS vulnerabilities in custom visuals</title>
      <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Best-way-to-handle-XSS-vulnerabilities-in-custom-visuals/m-p/145846#M3</link>
      <description>&lt;P&gt;Hey all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'll jump in here and ask something I've been stuck on for a while.&lt;/P&gt;&lt;P&gt;I've been working on this custom visual to display html formatted paragraphs so that I can pass formatting inline with value data into a custom visual for long text, which is useful for text fields.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The gitHub Repo is here:&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/mjbellomo/pbvizHtmlVisual" target="_blank"&gt;https://github.com/mjbellomo/pbvizHtmlVisual&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For simplicity's sake I'd like to be able to be able to set the innerHTML = dataView.Table.Rows.ToString() but I'm concious of the vulnerabilites intruduced by doing so, short of adding in all of the various format options into the format panel individually.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thoughts?&lt;/P&gt;</description>
      <pubDate>Tue, 21 Mar 2017 02:24:26 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Best-way-to-handle-XSS-vulnerabilities-in-custom-visuals/m-p/145846#M3</guid>
      <dc:creator>mjbellomo</dc:creator>
      <dc:date>2017-03-21T02:24:26Z</dc:date>
    </item>
    <item>
      <title>Re: Best way to handle XSS vulnerabilities in custom visuals</title>
      <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Best-way-to-handle-XSS-vulnerabilities-in-custom-visuals/m-p/159084#M25</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="24366" data-lia-user-login="mjbellomo" class="lia-mention lia-mention-user"&gt;mjbellomo&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your feedback.&lt;/P&gt;&lt;P&gt;I think that you can use &lt;A href="https://github.com/leizongmin/js-xss" target="_blank"&gt;js-xss&lt;/A&gt;&amp;nbsp;to prevent a XSS injection.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Ignat Vilesov&lt;/STRONG&gt;,&lt;/P&gt;&lt;P&gt;Software Engineer&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Microsoft Power BI Custom Visuals&lt;/P&gt;&lt;P&gt;&lt;A href="mailto:pbicvsupport@microsoft.com" target="_blank"&gt;pbicvsupport@microsoft.com&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 14 Apr 2017 11:21:54 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Best-way-to-handle-XSS-vulnerabilities-in-custom-visuals/m-p/159084#M25</guid>
      <dc:creator>v-viig</dc:creator>
      <dc:date>2017-04-14T11:21:54Z</dc:date>
    </item>
  </channel>
</rss>

