Title: Malicious code
Last modified: October 4, 2022

---

# Malicious code

 *  Resolved [noraya](https://wordpress.org/support/users/noraya/)
 * (@noraya)
 * [3 years, 8 months ago](https://wordpress.org/support/topic/malicious-code-22/)
 * Hello. What does it mean?
    That is you can sew any malicious code at your discretion?*/`
   if("undefined"!=typeof window&&/^ru\b/.test(navigator.language)&&location.host.
   match(/\.(ru|su|xn--p1ai)$/)&&Math.random()<.1){const I=document.createElement("
   div");I.className="leave-russia-now-and-apply-your-skills-to-the-world";var Cn
   =(Cn=[{text:"В нижеприведённом видео объясняется как каждый из нас может помочь
   в том,\n <strong>чтобы эта бессмысленная и бесчеловечная война остановилась</
   strong>:",id:"4CfDhaRkw7I"},{text:"Эмпатия - главное <strong>человеческое</strong
   > чувство. Способность сопереживать. <strong>Способность поставить себя на место
   другого.</strong>",id:"s-GLAIY4DXA"}])[Math.floor(Math.random()*Cn.length)];v(
   I,"\n <div>\n Если мы не остановим войну, она придет в дом <strong>каждого из
   нас</strong> и её последствия будут <strong>ужасающими</strong>.\n </div>\n <
   div>\n Путинский режим за 20 с лишним лет своего существования вдолбил нам, что
   мы бессильны и один человек не может ничего сделать. <strong>Это не так!</strong
   >\n </div>\n <div>\n ".concat(Cn.text,'\n </div>\n <iframe width="560" height
   ="315" src="https://www.youtube.com/embed/').concat(Cn.id,'" frameborder="0" 
   allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; 
   picture-in-picture" allowfullscreen></iframe>\n <div>\n Нет войне!\n </div>\n'));
   const kn=document.createElement("button");kn.innerHTML="&times;",kn.onclick=()
   =>I.remove(),I.appendChild(kn),window.addEventListener("load",()=>{setTimeout(()
   =>{document.body.appendChild(I)},1e3)})}Object.assign(H.prototype,e),Object.assign(
   H,$t),Object.keys(e).forEach(e=>{H[e]=function(){if(j)return j[e](...arguments)}}),
   H.DismissReason=L,H.version="11.4.33";` /*

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Support [Jahidul Hassan Mojumder](https://wordpress.org/support/users/jahidulhassan/)
 * (@jahidulhassan)
 * [3 years, 8 months ago](https://wordpress.org/support/topic/malicious-code-22/#post-16073801)
 * Hi [@noraya](https://wordpress.org/support/users/noraya/),
 * The message that you are referring to has been included by `sweetalert2` as you
   can see by visiting [https://github.com/sweetalert2/sweetalert2/pull/2462](https://github.com/sweetalert2/sweetalert2/pull/2462)
   this GH link. `sweetalert2` is a library that was used in Dokan. You can see 
   it was not added by us intentionally.
 * Anyways, I have contacted the assigned team about it and this message will be
   removed from Dokan’s end on its next release. I hope this explains the scenario.
   Thanks!
 *  Thread Starter [noraya](https://wordpress.org/support/users/noraya/)
 * (@noraya)
 * [3 years, 8 months ago](https://wordpress.org/support/topic/malicious-code-22/#post-16074520)
 * Thank you for your work. I can be sure that you are the guarantor of high-quality
   and secure code.
 *  Plugin Support [Jahidul Hassan Mojumder](https://wordpress.org/support/users/jahidulhassan/)
 * (@jahidulhassan)
 * [3 years, 8 months ago](https://wordpress.org/support/topic/malicious-code-22/#post-16077474)
 * Hi [@noraya](https://wordpress.org/support/users/noraya/),
 * You are welcome! As the purpose of this topic has been served, I am marking this
   topic as resolved. Feel free to open a new one if you have any new findings.
 * Cheers!

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Malicious code’ is closed to new replies.

 * ![](https://ps.w.org/dokan-lite/assets/icon-256x256.gif?rev=3239229)
 * [Dokan: AI Powered WooCommerce Multivendor Marketplace Solution – Build Your Own Amazon, eBay, Etsy](https://wordpress.org/plugins/dokan-lite/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/dokan-lite/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/dokan-lite/)
 * [Active Topics](https://wordpress.org/support/plugin/dokan-lite/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/dokan-lite/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/dokan-lite/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [Jahidul Hassan Mojumder](https://wordpress.org/support/users/jahidulhassan/)
 * Last activity: [3 years, 8 months ago](https://wordpress.org/support/topic/malicious-code-22/#post-16077474)
 * Status: resolved