coverage is vulnerable to Cross-Site Scripting (XSS)
76
CVE Score
High
Cross-Site Scripting (XSS)
When coverage generates an HTML report with show_contexts enabled, it embeds context labels into the report without sufficient HTML escaping. A crafted context label can break out of its enclosing inline element and inject arbitrary markup into the generated report. Any user who opens the HTML report in a browser is exposed to the injected content. The fix fully HTML-escapes context labels before embedding them into the report.
Upgrade the coverage library to the patch version.
You are affected if you are using a version that falls within the vulnerable range.
7.2.3 - 7.15.0
Fixed in 7.15.1coverage is vulnerable to Cross-Site Scripting (XSS) in versions 7.2.3 - 7.15.0.
Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.
No credit card required | Scan results in 32 seconds.
I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant
ISO 42001Compliant© All Intel data is openly available and commercially licensed.