mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-03 17:22:20 +09:00
Move upload file filter to Rhymix Framework and add proper unit tests for SVG-based attacks
This commit is contained in:
parent
af64ae79c1
commit
e98cf03d95
6 changed files with 250 additions and 126 deletions
5
tests/_data/security/ssrf.svg
Normal file
5
tests/_data/security/ssrf.svg
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg xmlns:svg="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200">
|
||||
<image height="30" width="30" xlink:href="/lib/plymouth/ubuntu_logo.png" />
|
||||
<text x="0" y="20" font-size="20">test</text>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 331 B |
Loading…
Add table
Add a link
Reference in a new issue