Description
Ralph through 20261123.1 contains a stored cross-site scripting vulnerability that allows users who can edit back office assets to inject script via the asset hostname rendered unescaped through mark_safe in MultiAddView.form_valid. When another staff user runs multiadd on the poisoned asset, the markup executes in their admin session, enabling actions with the victim's privileges.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| allegro | Ralph | ≤ 20261123.1 | — |
References
- https://github.com/allegro/ralph/blob/20261123.1/src/ralph/admin/views/multiadd.py#L129-L141 technical-description
- https://github.com/allegro/ralph/blob/20261123.1/src/ralph/back_office/models.py#L224-L227 technical-description
- VulnCheck Advisory: Ralph through 20261123.1 Stored XSS via Multiadd Success Message Hostname third-party-advisory