Security context

What an agent needs to avoid regressing past fixes and find the next vuln in this repo.

docsifyjs/docsify
develop @ e5ccdfb
3
Fixes
0
CVEs
HIGH
Peak severity
0.0%
Coverage
Highlights
Cross-Site Scripting (XSS): 2 prior fixes. Scrutinize any change in this area.
src/core/fetch/index.js: most-fixed (2 issues). Treat as high-risk during review.
3 high-severity fixes in this history; regressions here are high-impact.
Recurring patterns

The bug types that recur here, drawn from past fixes, not open vulnerabilities.

Cross-Site Scripting (XSS): External URL detection bypass allowed loading remote content with malformed single-slash URLs, leading to potential script injection.
Cross-Site Scripting (XSS): Remote rendering lacked HTML sanitization, allowing script injection when rendering untrusted remote content.
ReDoS: The marked dependency (0.7.0) was vulnerable to ReDoS (SNYK-JS-MARKED-584281), enabling denial-of-service via crafted markdown input.