{"id":"CVE-2026-61597","published":"2026-09-16T21:51:38Z","modified":"2026-09-17T15:06:13Z","title":"djust is vulnerable to stored/reflected XSS via javascript: URLs in built-in component template tags","vendor":"djust-org","product":"djust","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.1,"severity":"MEDIUM","version":"4.0","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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00412,"percentile":0.36329,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://github.com/djust-org/djust/security/advisories/GHSA-4mf4-73j6-mvrw","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/djust-org/djust/releases/tag/v1.0.7","tags":["x_refsource_MISC"]}],"priority":{"score":10.8,"factors":[{"name":"EPSS percentile","points":7.27},{"name":"CVSS severity","points":3.57}]},"vendorSlug":"djust-org","affectedVersions":[{"vendor":"djust-org","product":"djust","versions":["< 1.0.7"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-09-17T15:06:07.029671Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"djust","vulnerableRanges":["<1.0.7"],"patched":["1.0.7"],"from":["GHSA-4mf4-73j6-mvrw","PYSEC-2026-4037"],"provenance":"source"}],"summary":{"text":"djust, a Django reactive rendering framework, has a cross-site scripting flaw in its built-in component template tags (under djust.components.templatetags), which render caller-supplied URLs into href or action attributes with HTML escaping but no URL scheme validation, so javascript: URIs pass through intact. An attacker who can get a user with low privileges to supply or be shown such a URL, and who can get that user to interact by clicking it, can run arbitrary script in the victim's session, which requires no network access or authentication beyond that low-privilege account.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:02:14Z"},"euvd":{"id":"EUVD-2026-81300","exploited":false,"provenance":"source"}}