How to prevent xss vunerable ?

Updated on November 26, 2018 06:34AM by Admin

There is possibility to add the answers as XSS vulnerable.

<img src="x" onerror="alert('hi')">

 

There is possibility to add the answers as XSS vulnerable.

<img src="x" onerror="alert(1)">

There is possibility to add the answers as XSS vulnerable.

<img src="x" onerror="alert(1)">

<img src=x onerror=alert("1")>

<p>Apptivo on integration with Office 364 helps you to sync and share all your contacts from Office 365 to Apptivo and vice versa. It is similar to the <strong><a href="https://answers.apptivo.com/questions/12546/how-to-enable-contacts-sharing-option-to-sync-contacts" target="_blank" rel="noopener" data-mce-attribute-id="attribute_link" data-mce-is-message-template="Y" data-mce-is-message-template-attribute="Y" id="attribute_link_1542798157362_56_992091542798157362_186-container" data-mce-attribute="{&quot;attributeId&quot;:&quot;attribute_link_1542798157362_56_992091542798157362_186&quot;,&quot;isMandatory&quot;:false,&quot;isEnabled&quot;:true,&quot;canBeRemoved&quot;:true,&quot;attributeTag&quot;:&quot;link&quot;,&quot;attributeGroup&quot;:&quot;commonAttributes&quot;,&quot;layoutType&quot;:&quot;Message Template&quot;,&quot;labelName&quot;:&quot;Link&quot;,&quot;label&quot;:{&quot;originalLabel&quot;:&quot;Link&quot;,&quot;modifiedLabel&quot;:&quot;Link&quot;},&quot;link&quot;:{&quot;value&quot;:&quot;Google contact sharing&quot;,&quot;url&quot;:&quot;https://answers.apptivo.com/questions/12546/how-to-enable-contacts-sharing-option-to-sync-contacts&quot;}}">Google contact sharing</a></strong>. There are a couple of prerequisite things for the process of Office 365 Contact Sharing.</p>

<ul>

<li>Requires the Apptivo Paid Plan (view <strong><a href="https://www.apptivo.com/app-pricing/" target="_blank" rel="noopener">Apptivo Pricing</a></strong>)</li>

<li>Office 365 Work or School account</li>

</ul>

<p id="one">This enables you to sync your contacts in Office 365 to your Apptivo account and reciprocate. Contact information once updated is shared across all employees in your firm. Using this integration, your contacts will always be the exact same in both systems at all times (Apptivo &amp; Office 365). So if you add or update a contact in one, it will be pushed across and automatically change in the other. Enabling Office 365 Contacts Sync in Apptivo is just a two-step process:</p>

<ul>

<li><a href="#one">Install Apptivo App</a></li>

<li><a href="#two">Enable Office 365 Contact Sharing</a></li>

<li><a href="#three">What will happen when I Enable Office 365 Contact Sync?</a></li>

<li><a href="#four">View Contacts Synced</a></li>

</ul>

<h2><strong>Steps to Install Apptivo App</strong></h2>

<ol>

<li><strong><a href="https://login.microsoftonline.com/common/oauth2/authorize?client_id=4345a7b9-9a63-4910-a426-35363201d503&amp;response_mode=form_post&amp;response_type=code+id_token&amp;scope=openid+profile&amp;state=OpenIdConnect.AuthenticationProperties%3dBYhgM1Bf8aDuTcE9skI5JQ1C0CrcbpoDXZL5TK8Bsdffp6QFPaNkpx5ikwfiULDboD8yBO6ZkW6MhnU9stPfojVx47taCL5OBu7HYP0_cfujA_LGUqJhtWZEpZnfyyia&amp;nonce=636783947528994672.YmM5MDNkODAtNmU3OS00MGJhLWE2NTYtZTNkMzRlNzZhOTIxYmI3MGRmMTUtOGEzNi00MDA4LTgwYzEtMzdiMGE0YTU4NGM2&amp;redirect_uri=https%3a%2f%2fwww.office.com%2f&amp;ui_locales=en-GB&amp;mkt=en-GB&amp;client-request-id=d07f4fe3-35be-413b-9814-2e6b0bb69d1b" target="_blank" rel="noopener">Log in</a></strong> to your Office365 account.</li>

<li>You need to install Apptivo App from the Office Store to start syncing contacts. Go to <strong><a href="https://appsource.microsoft.com/en-us/marketplace/apps?product=office&amp;page=1&amp;src=office&amp;corrid=5d3c477c-322e-409d-8a58-51d99f1dcff8&amp;omexanonuid=9646da16-5d25-4a0d-9cf7-4c381ae609a3" target="_blank" rel="noopener">Office Store</a></strong> and search for <strong>Apptivo</strong> from the search box and click on it.<br /><img title="search for apptivo" alt="search for apptivo" src="https://www.apptivo.com/wp-content/uploads/2018/11/01-search-for-apptivo.png" /><br /><br /></li>

<li>Click&nbsp;<strong>Get It Now</strong>.<br /><img title="click get it now" alt="click get it now" src="https://www.apptivo.com/wp-content/uploads/2018/11/02-click-get-it-now.png" /><br /><br /></li>

<li>On doing so, you will be displayed with the Terms and Conditions. Click <strong>Continue</strong>.<br /><img title="click continue" alt="click continue" src="https://www.apptivo.com/wp-content/uploads/2018/11/03-click-continue.png" /><br /><br /></li>

<li>It will take a few seconds to complete the process. Now, you will be redirected to the authorization page of Apptivo. Click on "<strong>Accept</strong>".<br /><img title="click accept" alt="click accept" src="https://www.apptivo.com/wp-content/uploads/2018/11/04-click-accept.png" /><br /><br /></li>

<li id="two">On accepting, what happens next depends on whether you have an existing Apptivo account or not. (<em><strong>Note:</strong> If you already have an Apptivo account with the same id which was used for Office 365, then you will be automatically redirected to your Apptivo Account. Else, you will be redirected to the Signup page.</em>)</li>

</ol>

<h2><strong>Steps to Enable Office 365 Contact Sharing</strong></h2>

<ol>

<li>Access <strong><a href="https://www.apptivo.com/contacts-app-documentation/" target="_blank" rel="noopener" data-mce-attribute-id="attribute_link" data-mce-is-message-template="Y" data-mce-is-message-template-attribute="Y" id="attribute_link_1542798412140_685_1280021542798412140_551-container" data-mce-attribute="{&quot;attributeId&quot;:&quot;attribute_link_1542798412140_685_1280021542798412140_551&quot;,&quot;isMandatory&quot;:false,&quot;isEnabled&quot;:true,&quot;canBeRemoved&quot;:true,&quot;attributeTag&quot;:&quot;link&quot;,&quot;attributeGroup&quot;:&quot;commonAttributes&quot;,&quot;layoutType&quot;:&quot;Message Template&quot;,&quot;labelName&quot;:&quot;Link&quot;,&quot;label&quot;:{&quot;originalLabel&quot;:&quot;Link&quot;,&quot;modifiedLabel&quot;:&quot;Link&quot;},&quot;link&quot;:{&quot;value&quot;:&quot;Contacts App&quot;,&quot;url&quot;:&quot;/contacts-app-documentation/&quot;}}">Contacts App</a></strong> from your universal navigation menu bar.</li>

<li>Click on "<strong>More (...)</strong>&rdquo; icon and select "<strong>Settings</strong>" located in the app header bar.</li>

<li>Now click on <strong>Contacts</strong> drop-down -&gt; <strong>Office365 Apps Integration</strong> from the left navigation panel.</li>

<li>You will be redirected to <strong>Contacts Sharing Configurations</strong> page, where you can view the <strong>Enable Contact Sharing</strong> setting. By default, it will be in disabled state.</li>

<li>Enable it by sliding the toggle <strong>ON</strong>.<br /><img id="three" title="enable contact sharing toggle" alt="enable contact sharing toggle" src="https://www.apptivo.com/wp-content/uploads/2018/11/image11.png" /><br /><br /></li>

<li>You are now ready to synchronize your contacts between your <em>Apptivo CRM</em> and <em>Office 365</em>.</li>

</ol>

<h2><strong>What will happen when I Enable Office 365 Contact Sync?</strong></h2>

<br />

<h3><strong>In Office 365 Account</strong></h3>

<p>As a result, Apptivo will now create two groups in Office 365 and add all contacts from your Apptivo Contacts App to it. You can find the groups created under <strong>Apps</strong> &gt; <strong>People</strong> &gt; <strong>Your contacts</strong> &gt; <strong>Other contacts</strong> drop down.</p>

<ol>

<li>Apptivo [Business_Name] Contacts</li>

<li>Apptivo [Business_Name] Employees</li>

</ol>

<img title="view apptivo groups in o365" alt="view apptivo groups in o365" src="https://www.apptivo.com/wp-content/uploads/2018/11/05-view-apptivo-groups.png" /><br />

<h3><strong>In Apptivo Account</strong></h3>

<p id="four">A new toggle &ldquo;<strong>Sync to O365</strong>&rdquo; will be added to the contact&rsquo;s creation and overview page. All the contacts created before the time of Contact Sync, will have this toggle enabled by default. Similarly, all the new contacts you create will also have this toggle enabled and hence they sync.</p>

<h2><strong>View Contacts Synced</strong></h2>

<ol>

<li>Now, <strong><a href="https://answers.apptivo.com/questions/12404/how-do-i-create-a-new-contact" target="_blank" rel="noopener" data-mce-attribute-id="attribute_link" data-mce-is-message-template="Y" data-mce-is-message-template-attribute="Y" id="attribute_link_1542799290607_426_686501542799290607_694-container" data-mce-attribute="{&quot;attributeId&quot;:&quot;attribute_link_1542799290607_426_686501542799290607_694&quot;,&quot;isMandatory&quot;:false,&quot;isEnabled&quot;:true,&quot;canBeRemoved&quot;:true,&quot;attributeTag&quot;:&quot;link&quot;,&quot;attributeGroup&quot;:&quot;commonAttributes&quot;,&quot;layoutType&quot;:&quot;Message Template&quot;,&quot;labelName&quot;:&quot;Link&quot;,&quot;label&quot;:{&quot;originalLabel&quot;:&quot;Link&quot;,&quot;modifiedLabel&quot;:&quot;Link&quot;},&quot;link&quot;:{&quot;value&quot;:&quot;create a contact&quot;,&quot;url&quot;:&quot;https://answers.apptivo.com/questions/12404/how-do-i-create-a-new-contact&quot;}}">create a contact</a></strong> in your <strong>Apptivo Contacts App</strong>.<br /><img title="create contact in apptivo" alt="create contact in apptivo" src="https://www.apptivo.com/wp-content/uploads/2018/11/06-create-contact-in-apptivo-e1542862899451.png" /><br /><br /></li>

<li>Once created, go to your Office 365 account. Navigate to the <strong><em>Apptivo [business-name] Contacts</em></strong> group. You&rsquo;ll be able to view the contact created in Apptivo being synced to Office 365 as shown in the image below:<br /><img title="view contact synced to o365" alt="view contact synced to o365" src="https://www.apptivo.com/wp-content/uploads/2018/11/07-contact-synced-from-apptivo-e1542865185989.png" /><br /><br /></li>

<li>Similarly, create a contact in Office 365. (<em><strong>Note:</strong> You need to create the contacts from <strong>Apptivo [business_name] Contacts</strong> group. Only then it will get synced to Apptivo</em>)<br /><img title="create contact in o365" alt="create contact in o365" src="https://www.apptivo.com/wp-content/uploads/2018/11/08-create-contact-ino365-e1542865332339.png" /><br /><br /></li>

<li>It will be synced to Apptivo Contacts App within seconds.<br /><img title="view contact synced to apptivo" alt="view contact synced to apptivo" src="https://www.apptivo.com/wp-content/uploads/2018/11/09-view-contact-synced-to-apptivo-e1542865441910.png" /></li>

</ol>

<h3><strong>Note:</strong></h3>

<ol>

<li>The following are the list of fields that will get synced during the Apptivo - Office 365 Contact Sharing process - <em>Full Name (First Name &amp; Last Name), Job Title, Email (Home, Business, Other), Phone (Home, Business, Mobile), Nickname, Date of Birth, Address, Description (as Notes)</em>.</li>

<li>In Apptivo Contacts App, the <strong>Last Name</strong> field is a mandatory one. So if there is a contact in Office 365 having only the <strong>First Name</strong>, then in that case, the value of the First Name in Office 365 will get mapped to the Last Name field in Apptivo.</li>

<li>Similarly, if there is a contact in Office 365 having the First Name &amp; Middle Name, then, both will get mapped to the Last Name field in Apptivo.</li>

<li>Regarding the email field, Office 365 has the &ldquo;<strong>Display as</strong>&rdquo; field where you can specify the type of the email. Here you are required to enter one of the following types - <strong>Home, Business</strong>, and <strong>Others</strong> to get it synced to Apptivo Contacts App. If you enter a Type other than those, it will not get synced/updated in Apptivo.</li>

</ol>

<img src="x" id="img1" onerror="alert('hi')" />

Apptivo on integration with Office 364 helps you to sync and share all your contacts from Office 365 to Apptivo and vice versa. It is similar to the Google contact sharing. There are a couple of prerequisite things for the process of Office 365 Contact Sharing.

  • Requires the Apptivo Paid Plan (view Apptivo Pricing)
  • Office 365 Work or School account

This enables you to sync your contacts in Office 365 to your Apptivo account and reciprocate. Contact information once updated is shared across all employees in your firm. Using this integration, your contacts will always be the exact same in both systems at all times (Apptivo & Office 365). So if you add or update a contact in one, it will be pushed across and automatically change in the other. Enabling Office 365 Contacts Sync in Apptivo is just a two-step process:

Steps to Install Apptivo App

  1. Log in to your Office365 account.
  2. You need to install Apptivo App from the Office Store to start syncing contacts. Go to Office Store and search for Apptivo from the search box and click on it.
    search for apptivo

  3. Click Get It Now.
    click get it now

  4. On doing so, you will be displayed with the Terms and Conditions. Click Continue.
    click continue

  5. It will take a few seconds to complete the process. Now, you will be redirected to the authorization page of Apptivo. Click on "Accept".
    click accept

  6. On accepting, what happens next depends on whether you have an existing Apptivo account or not. (Note: If you already have an Apptivo account with the same id which was used for Office 365, then you will be automatically redirected to your Apptivo Account. Else, you will be redirected to the Signup page.)

Steps to Enable Office 365 Contact Sharing

  1. Access Contacts App from your universal navigation menu bar.
  2. Click on "More (...)” icon and select "Settings" located in the app header bar.
  3. Now click on Contacts drop-down -> Office365 Apps Integration from the left navigation panel.
  4. You will be redirected to Contacts Sharing Configurations page, where you can view the Enable Contact Sharing setting. By default, it will be in disabled state.
  5. Enable it by sliding the toggle ON.
    enable contact sharing toggle

  6. You are now ready to synchronize your contacts between your Apptivo CRM and Office 365.

What will happen when I Enable Office 365 Contact Sync?


In Office 365 Account

As a result, Apptivo will now create two groups in Office 365 and add all contacts from your Apptivo Contacts App to it. You can find the groups created under Apps > People > Your contacts > Other contacts drop down.

  1. Apptivo [Business_Name] Contacts
  2. Apptivo [Business_Name] Employees
view apptivo groups in o365

In Apptivo Account

A new toggle “Sync to O365” will be added to the contact’s creation and overview page. All the contacts created before the time of Contact Sync, will have this toggle enabled by default. Similarly, all the new contacts you create will also have this toggle enabled and hence they sync.

View Contacts Synced

  1. Now, create a contact in your Apptivo Contacts App.
    create contact in apptivo

  2. Once created, go to your Office 365 account. Navigate to the Apptivo [business-name] Contacts group. You’ll be able to view the contact created in Apptivo being synced to Office 365 as shown in the image below:
    view contact synced to o365

  3. Similarly, create a contact in Office 365. (Note: You need to create the contacts from Apptivo [business_name] Contacts group. Only then it will get synced to Apptivo)
    create contact in o365

  4. It will be synced to Apptivo Contacts App within seconds.
    view contact synced to apptivo

Note:

  1. The following are the list of fields that will get synced during the Apptivo - Office 365 Contact Sharing process - Full Name (First Name & Last Name), Job Title, Email (Home, Business, Other), Phone (Home, Business, Mobile), Nickname, Date of Birth, Address, Description (as Notes).
  2. In Apptivo Contacts App, the Last Name field is a mandatory one. So if there is a contact in Office 365 having only the First Name, then in that case, the value of the First Name in Office 365 will get mapped to the Last Name field in Apptivo.
  3. Similarly, if there is a contact in Office 365 having the First Name & Middle Name, then, both will get mapped to the Last Name field in Apptivo.
  4. Regarding the email field, Office 365 has the “Display as” field where you can specify the type of the email. Here you are required to enter one of the following types - Home, Business, and Others to get it synced to Apptivo Contacts App. If you enter a Type other than those, it will not get synced/updated in Apptivo.