SecurityContext

CVE-2026-61597: djust - Stored XSS

  • Cve: CVE-2026-61597
  • Name: djust - Stored XSS
  • 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.
  • Impact: Attackers can execute arbitrary JavaScript in victim sessions, leading to session hijacking or other client-side attacks.
  • Remediation: Upgrade to version 1.0.7 or later.
  • Vulnerability type: stored_xss
  • Vulnerability impact: client_script_exec
  • Requirement type: user_interaction
  • Requirements: Victim must click on a crafted link containing a malicious URL
  • Labels source: projectdiscovery
  • Severity: medium
  • Cvss score: 5.1
  • Cvss 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
  • Epss score: 0.00412
  • Epss percentile: 0.36213
  • Assignee: [email protected]
  • Published at: 2026-09-16T22:17:03Z
  • Age in days: 69
  • Modified at: 2026-09-30T17:51:56Z
  • References total: 2
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-61597
  • Nvd status: deferred
  • Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, products total, products, rejected by nvd
  • Not known: hackerone

Cwe

IdName
CWE-79Improper Neutralization of Input During Web Page Generation

References

UrlSourceTags
https://github.com/djust-org/djust/releases/tag/v1.0.7nvd
https://github.com/djust-org/djust/security/advisories/GHSA-4mf4-73j6-mvrwnvd

Projects

RepositoryLink kindsIndexedUrl
djust-org/djustpackage, releases, security_advisoryyes/v1/repositories/djust-org/djust

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Remote: yes
  • Authentication required: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts