djust is vulnerable to stored/reflected XSS via javascript: URLs in built-in component template tags
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| djust-org | djust | affected |
|
No data.
No data.
| Vendor | Product | Versions | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Djust-org | Djust |
|
| Source | ID | Title |
|---|---|---|
Github GHSA |
GHSA-4mf4-73j6-mvrw | djust is vulnerable to stored/reflected XSS via javascript: URLs in built-in component template tags |
No CVSS v3.1
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.412% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Djust-org
Djust-org djust |
|
| Vendors & Products |
Djust-org
Djust-org djust |
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| 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. | |
| Title | djust is vulnerable to stored/reflected XSS via javascript: URLs in built-in component template tags | |
| Weaknesses | CWE-79 | |
| References |
| |
| Metrics |
cvssV4_0
|