Browse Guides

Blocked HTML Content in Rich Text Editors
Reading mode
Copy Link
Link Copied!
Print
Feedback
This guide has multiple versions available:
<style>p { margin: 0; }span.fr-emoticon.fr-emoticon-img { background-repeat: no-repeat !important; font-size: inherit; height: 1em; width: 1em; min-height: 20px; min-width: 20px; display: inline-block; margin: -0.1em 0.1em 0.1em; line-height: 1; vertical-align: middle; } span.fr-emoticon { font-weight: normal; font-family: "Apple Color Emoji", "Segoe UI Emoji", "NotoColorEmoji", "Segoe UI Symbol", "Android Emoji", "EmojiSymbols"; display: inline; line-height: 0; } blockquote { border-left: solid 2px #5e35b1; color: #5e35b1; margin-left:0; padding-left:5px;}blockquote blockquote{ border-color: #00bcd4; color: #00bcd4;}blockquote blockquote blockquote{ border-color: #43a047; color: #43a047;} table.grid{ border-collapse: collapse;} table.grid td, table.grid th { border: 1px solid #ddd;} .fr-fic.fr-dib{ display: block; margin: 5px auto;}.fr-fic.fr-dib.fr-fir{ text-align: right; margin: 5px 0 5px auto;}.fr-fic.fr-dib.fr-fil{ text-align: left; margin: 5px auto 5px 0;}.fr-fic.fr-dii{ float: none; margin: 5px auto;}.fr-fic.fr-dii.fr-fil{ float: left; margin: 5px auto;}.fr-fic.fr-dii.fr-fir{ float: right; margin: 5px auto;}img.fr-dib.fr-fir { margin-right: 0; text-align: right;}img.fr-dib.fr-fil { margin-left: 0; text-align: left;}img.fr-dib { margin: 5px auto; display: block; float: none;}img.fr-bordered { box-sizing: content-box; border: solid 5px #CCC;}img.fr-shadow { box-shadow: 10px 10px 5px 0px #cccccc;}img.fr-rounded { border-radius: 10px; -moz-border-radius: 10px; -webkit-border-radius: 10px; -moz-background-clip: padding; -webkit-background-clip: padding-box; background-clip: padding-box;}</style><style class="darkreader darkreader--sync" media="screen"></style><p>To ensure your safety, our system automatically blocks certain HTML elements and attributes that can potentially introduce security risks. Here&#39;s what we look for:</p><p><img src="https://halo.haloservicedesk.com/api/attachment/image?token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjYzMjgwMmQzLWFkZTItNDM1NC1hODNlLWQyMzE1OGRjYWQyYSJ9.HUdw44SPaNBPW2BeOKObsx95N4qzHPKUqAp_mzXVY4Y" class="fr-fic fr-fil fr-dib" style="width: 838px; height: 213.155px;" width="836" height="213"></p><p><br></p><h3>Dangerous Elements and Keywords:</h3><ul><li><strong>Scripts and Embeds:</strong> &lt;script&gt;, &lt;object&gt;, &lt;iframe&gt;, &lt;input&gt;</li><li><strong>JavaScript Execution:</strong> javascript:, javascript&amp;, javascript,, expression(</li><li><strong>Network Requests:</strong> xmlhttprequest, fetch(</li><li><strong>Event Handlers:</strong> oncontextmenu, onclick</li><li><strong>Cookies and Tokens:</strong> .cookie, &#39;cookie, &quot;cookie, .access_token, &#39;access_token, &quot;access_token, .refresh_token, &#39;refresh_token, &quot;refresh_token</li><li><strong>Storage Access:</strong> localstorage., sessionstorage., document.cookie, localstorage[, sessionstorage[</li></ul><h3>Event Handler Attributes:</h3><p>We also check for any HTML attributes that start with &quot;on&quot; (e.g., onclick, onload). These can be used to execute JavaScript when certain events occur, which might be harmful.</p><p><br></p><p>By blocking these elements and attributes, we help protect you from potential security threats like malicious scripts or unauthorized data access.</p><p>If you have any questions or need further clarification, feel free to ask!</p><p><br></p><h2>Why Information is Blocked in Rich Text Boxes</h2><p>In the Halo tool, certain HTML content is blocked in rich text boxes to protect users from potential security threats. This is done to prevent the execution of malicious scripts or unauthorized access to sensitive data.</p><p><br></p><h3>Rules for Blocking:</h3><ul><li><strong>Scripts and Embeds:</strong> Elements like &lt;script&gt;, &lt;object&gt;, &lt;iframe&gt;, and &lt;input&gt; are blocked because they can execute or embed potentially harmful content.</li><li><strong>JavaScript Execution:</strong> Keywords such as javascript:, javascript&amp;, javascript,, and expression( are blocked to prevent the execution of JavaScript code.</li><li><strong>Network Requests:</strong> Terms like xmlhttprequest and fetch( are blocked to stop unauthorized network requests.</li><li><strong>Event Handlers:</strong> Attributes like oncontextmenu and onclick are blocked as they can trigger JavaScript execution.</li><li><strong>Cookies and Tokens:</strong> Access to cookies and tokens (e.g., .cookie, &#39;cookie, &quot;cookie, .access_token) is blocked to protect sensitive information.</li><li><strong>Storage Access:</strong> Access to local and session storage (e.g., localstorage., sessionstorage.) is blocked to prevent unauthorized data access.</li></ul><h3>Error Message:</h3><p>When content is blocked, the following error message is displayed: <span style="color: red; --darkreader-inline-color: var(--darkreader-text-ff0000, #ff1a1a);" data-darkreader-inline-color="">Content has been blocked due to being potentially dangerous. Click here to download the content and view it outside the application.</span></p><p><br></p><p>This message indicates that the content contains elements or attributes that are considered unsafe and have been blocked to protect your security.</p><style> img { border-radius: 10px; } </style><style class="darkreader darkreader--sync" media="screen"></style><p><br></p>
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.