SecOps #451
open[Sécurité] Vulnérabilité de code : index.html:5 (html.security.audit.missing-integrity.missing-integrity)
0%
Description
**Sévérité** : MEDIUM
**Source** : Semgrep
`vuln-medium`
**Emplacement** : index.html:5
**Règle** : html.security.audit.missing-integrity.missing-integrity
This tag is missing an 'integrity' subresource integrity attribute. The 'integrity' attribute allows for the browser to verify that externally hosted files (for example from a CDN) are delivered without unexpected manipulation. Without this attribute, if an attacker can modify the externally hosted resource, this could lead to XSS and other types of attacks. To prevent this, include the base64-encoded cryptographic hash of the resource (file) you’re telling the browser to fetch in the 'integrity' attribute for all externally hosted files.
### Extrait de code
```
requires login
```
### Lien CVE
https://owasp.org/Top10/A08_2021-Software_and_Data_Integrity_Failures