ΣύνδεσηΕγγραφή
A08 · 2025

Software or Data Integrity Failures

Code or data is trusted without checking it wasn't changed.

What it is

The app accepts code or data from somewhere and assumes it is the original: a script from a CDN, an auto-update, a serialized object in a cookie. If anyone in the middle can change it, they control your app.

What can happen

Example: Third-party script without integrity

✕ Vulnerable
<script src="https://cdn.example.com/chart.min.js"></script>
✓ Fixed
<script
  src="https://cdn.example.com/chart.min.js"
  integrity="sha384-..."
  crossorigin="anonymous"
></script>

With integrity (SRI) the browser refuses the file if a single byte changed.

How to prevent it

What CrimsonScan checks

Partly detected

The heavy scan (ZAP) flags scripts loaded without an integrity attribute. Server-side deserialization and CI security can't be seen from a URL.

Read more on owasp.org ↗