# Security improvement - enable sandboxed javascript injection

**URL:** <https://devforum.zoom.us/t/security-improvement-enable-sandboxed-javascript-injection/72525>\
**Category:** iOS\
**Created:** [July 20, 2022, 1:43am UTC](https://devforum.zoom.us/t/security-improvement-enable-sandboxed-javascript-injection/72525 "2022-07-20T01:43:01Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![nvivot](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/nvivot/32/4489_2.png) [@nvivot](https://devforum.zoom.us/u/nvivot)\
**Post date:** [July 20, 2022, 1:43am UTC](https://devforum.zoom.us/t/security-improvement-enable-sandboxed-javascript-injection/72525/1 "2022-07-20T01:43:01Z")

</div>

**Description**  
We got a report from a security scan of our mobile application using the Zoom iOS SDK about a potential security issue when the SDK load javascript content into WKWebView.

**Security report details**

 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/5/d/5d71a56b3137303ffa3ea5e8232a043f2cd40f69.png)

 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/c/d/cd41b7f47812f2deb5a97b1cf0278ae3e96181af.png)

**Recommendation**

 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/3/7/3706fe5f6621aba2fb5829412d3c1cba9653b23c.png)

**Code locations**

 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/5/e/5e9a2f76b7848d7d6276da13721b2088252e3843.png)

 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/6/f/6fed6509d26177d51252cd2a094a4bbeec40d811.png)

 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/b/0/b09914f9de210e31500295be4737036321f252f6.png)

 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/c/3/c38c42652666de321189e658853609aa6382df5a.png)

**Which iOS Meeting SDK version?**  
5.10.3

**Questions / remarks**

1. Are you collecting specific personal data through this mechanism that we have to know about ?
2. Is it possible to enable sandboxed context ? If not, please provide a reason (would it deteriorate / break some of the SDK functionalities, especially in term of monitoring?)

Regards.

---

<div class="post-metadata">

**Author:** ![michael.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/michael.zoom/32/37213_2.png) [@michael.zoom](https://devforum.zoom.us/u/michael.zoom)\
**Post date:** [July 20, 2022, 9:32pm UTC](https://devforum.zoom.us/t/security-improvement-enable-sandboxed-javascript-injection/72525/2 "2022-07-20T21:32:02Z")

</div>

Hi @nvivot, hope you’re well 🙂

For this I’m going to specifically check with our platform security team for what their guidance will be, we’ll get back to you shortly.

---

<div class="post-metadata">

**Author:** ![michael.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/michael.zoom/32/37213_2.png) [@michael.zoom](https://devforum.zoom.us/u/michael.zoom)\
**Post date:** [July 22, 2022, 2:37am UTC](https://devforum.zoom.us/t/security-improvement-enable-sandboxed-javascript-injection/72525/4 "2022-07-22T02:37:00Z")

</div>

@nvivot, thank you for raising this issue. Consulting with our SDK engineering team, we believe our implementation can be changed to prevent the need for this web view. We are currently targeting an upcoming release to make this change. We have a scheduled deployment which means you might see a release that does not include this, but expect it subsequently.

To answer your questions,

1. No, this is not used to provide any user context or authorization services.
2. Yes. We expect you to be able to sandbox this and maintain SDK functionality.

---

<div class="post-metadata">

**Author:** ![nvivot](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/nvivot/32/4489_2.png) [@nvivot](https://devforum.zoom.us/u/nvivot)\
**Post date:** [July 22, 2022, 4:01am UTC](https://devforum.zoom.us/t/security-improvement-enable-sandboxed-javascript-injection/72525/5 "2022-07-22T04:01:01Z")

</div>

Hi Michael,

Thank you very much for your feedback. Good news, we will definitely look forward for the upcoming releases for this change.

Good to know we can also sandbox anything if needed.

Regards.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/6/1/614bdd549b610bbaa46ff934617683a02bdaa03c.png) [@system](https://devforum.zoom.us/u/system)\
**Post date:** [August 21, 2022, 2:01pm UTC](https://devforum.zoom.us/t/security-improvement-enable-sandboxed-javascript-injection/72525/6 "2022-08-21T14:01:44Z")

</div>

Closed on August 21, 2022, 2:01pm UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
