{"cve":"CVE-2026-61597","nvd":{"published":"2026-09-16T22:17:03.187","modified":"2026-09-30T17:51:56.193","status":"Deferred","description":"djust provides Phoenix LiveView-style reactive server-side rendering for Django with Rust-powered performance. Prior to version 1.0.7, many djust built-in component template tags (`djust.components.templatetags.*`) render a developer/user-supplied URL into an `href` / `action` attribute, HTML-escaping it with `conditional_escape` but never validating the URL scheme. HTML escaping prevents attribute breakout but does not neutralize a `javascript:` URI (which needs no escapable characters), so a URL value of `javascript:alert(document.cookie)` lands verbatim in `<a href=\"javascript:alert(document.cookie)\">` and executes in the victim's session on click. Version 1.0.7 contains a fix. As a workaround, do not pass user-controllable URLs to the affected built-in component tags; pre-validate URL schemes in application code before binding them to component arguments.","cvss_v4":{"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N","score":5.1},"cvss_v3":null,"cwes":["CWE-79"],"references":["https://github.com/djust-org/djust/releases/tag/v1.0.7","https://github.com/djust-org/djust/security/advisories/GHSA-4mf4-73j6-mvrw"],"products":[],"source":"nvd","synced_at":"2026-10-19T22:54:41.405518556+00:00"},"epss":{"cve":"CVE-2026-61597","score":0.00412,"percentile":0.35147,"date":"2026-10-25"},"kev":null,"osv":[{"id":"GHSA-4mf4-73j6-mvrw","url":"https://osv.dev/vulnerability/GHSA-4mf4-73j6-mvrw","summary":"djust is vulnerable to stored/reflected XSS via javascript: URLs in built-in component template tags","modified":"2026-10-01T17:56:04.247118401Z","packages":[{"ecosystem":"PyPI","name":"djust","purl":"pkg:pypi/djust","ranges":["<1.0.7"],"fixed":["1.0.7"]}]},{"id":"PYSEC-2026-4037","url":"https://osv.dev/vulnerability/PYSEC-2026-4037","summary":"djust is vulnerable to stored/reflected XSS via javascript: URLs in built-in component template tags","modified":"2026-10-01T17:45:03.105373411Z","packages":[{"ecosystem":"PyPI","name":"djust","purl":"pkg:pypi/djust","ranges":["<1.0.7"],"fixed":["1.0.7"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}