|
64 | 64 | <th>Description</th> |
65 | 65 | <td> |
66 | 66 | <p v-for="description in this.$store.state.recordData.description_data" :key="description.index"> |
67 | | - {{$sanitize(description.value)}} |
| 67 | + <span v-html="$sanitize(description.value)"></span> |
68 | 68 | </p> |
69 | 69 | </td> |
70 | 70 | </tr> |
|
81 | 81 | <th>Problem Types</th> |
82 | 82 | <td> |
83 | 83 | <ul v-for="problem in this.$store.state.recordData.problemtype_data" :key="problem.index"> |
84 | | - <li v-if="problem.value !== 'n/a'">{{$sanitize(problem.value)}}</li> |
| 84 | + <li v-if="problem.value !== 'n/a'"><span v-html="$sanitize(problem.value)"></span></li> |
85 | 85 | </ul> |
86 | 86 | </td> |
87 | 87 | </tr> |
|
91 | 91 | <th>Vendors, Products & Versions</th> |
92 | 92 | <td> |
93 | 93 | <ul v-for="vendorProductVersion in this.$store.state.recordData.affects.vendors" :key="vendorProductVersion.index"> |
94 | | - <li><span class="has-text-weight-bold">Vendor:</span> {{$sanitize(vendorProductVersion.vendor_name)}} </li> |
| 94 | + <li> |
| 95 | + <span class="has-text-weight-bold">Vendor: </span><span v-html="$sanitize(vendorProductVersion.vendor_name)"></span> |
| 96 | + </li> |
95 | 97 | <ul v-for="ProductVersion in vendorProductVersion.products" :key="ProductVersion.index" class="mb-2"> |
96 | 98 | <li v-if="ProductVersion !== undefined"> |
97 | | - <span class="has-text-weight-bold">Product:</span> {{$sanitize(ProductVersion.product_name)}} |
| 99 | + <span class="has-text-weight-bold">Product: </span><span v-html="$sanitize(ProductVersion.product_name)"></span> |
98 | 100 | </li> |
99 | 101 | <li v-if="ProductVersion.vendor_version.version_value && ProductVersion.vendor_version.version_value.length > 0"> |
100 | 102 | <span class="has-text-weight-bold">Versions:</span> |
101 | | - {{$sanitize(ProductVersion.vendor_version.version_value.join(', '))}} |
| 103 | + <span v-html="$sanitize(ProductVersion.vendor_version.version_value.join(', '))"></span> |
102 | 104 | </li> |
103 | 105 | <li v-if="ProductVersion.vendor_version.version_affected && ProductVersion.vendor_version.version_affected.length > 0"> |
104 | 106 | <span class="has-text-weight-bold">Versions Affected: </span> |
105 | | - {{$sanitize(ProductVersion.vendor_version.version_affected.join(', '))}} |
| 107 | + <span v-html="$sanitize(ProductVersion.vendor_version.version_affected.join(', '))"></span> |
106 | 108 | </li> |
107 | 109 | </ul> |
108 | 110 | </ul> |
|
113 | 115 | <td> |
114 | 116 | <ul v-for="reference in this.$store.state.recordData.reference_data" :key="reference.index"> |
115 | 117 | <li v-if="reference.url !== undefined" class="cve-task-tile-list-item"> |
116 | | - <a :href="reference.url" class="cve-word-wrap"> |
| 118 | + <a :href="$sanitize(reference.url)" class="cve-word-wrap"> |
117 | 119 | {{reference.name === undefined ? $sanitize(reference.url) : $sanitize(reference.name)}} |
118 | 120 | </a> |
119 | 121 | </li> |
|
0 commit comments