Catégories
CVE-2024-29896

Astro-Shield's Content-Security-Policy header generation in middleware could be compromised by malicious injections

Résumé

Astro-Shield's Content-Security-Policy header generation in middleware could be compromised by malicious injections

Description d'origine

La description telle que publiée par la source (souvent en anglais).

Astro-Shield is a library to compute the subresource integrity hashes for your JS scripts and CSS stylesheets. When automated CSP headers generation for SSR content is enabled and the web application serves content that can be partially controlled by external users, then it is possible that the CSP headers generation feature might be "allow-listing" malicious injected resources like inlined JS, or references to external malicious scripts. The fix is available in version 1.3.0.

Source: OSV.dev (Open Source Vulnerabilities) NVD GitHub Advisory OSV

Références

Nous utilisons des cookies pour l'analyse d'audience et la mesure publicitaire. Ce réglage s'applique à tous les sites de Game co., Ltd. En savoir plus