Description
Webasyst Framework through 4.4.0 contains a stored cross-site scripting vulnerability in the Photos app that allows authenticated backend users to inject JavaScript via the album url parameter. Attackers with album edit rights can save a url value that breaks out of the unescaped attribute in DialogAlbumSettings.html, executing JavaScript in administrators' backend sessions.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Webasyst | Webasyst Framework | ≤ 4.4.0 | — |
References
- GitHub Issue #395 issue-tracking
- https://github.com/webasyst/webasyst-framework/blob/cc609e5db23e68d982e15ebf65bf9d25120333af/wa-apps/photos/templates/actions/dialog/DialogAlbumSettings.html#L36 technical-description
- https://github.com/webasyst/webasyst-framework/blob/cc609e5db23e68d982e15ebf65bf9d25120333af/wa-apps/photos/lib/actions/album/photosAlbumSave.controller.php#L107 technical-description
- https://github.com/webasyst/webasyst-framework product
- VulnCheck Advisory: Webasyst Framework through 4.4.0 Stored XSS via Photos Album URL third-party-advisory