mirror of
https://github.com/snapotter-hq/SnapOtter.git
synced 2026-08-03 07:46:42 +02:00
fix: add missing SVG XXE security test fixtures
The adversarial-security integration test reads two SVG fixture files that were never committed, causing CI to fail with ENOENT.
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE svg [
|
||||
<!ENTITY xxe SYSTEM "file:///etc/passwd">
|
||||
]>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="200" height="200">
|
||||
<text x="10" y="20">&xxe;</text>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 210 B |
+7
@@ -0,0 +1,7 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE svg [
|
||||
<!ENTITY xxe SYSTEM "http://169.254.169.254/latest/meta-data/">
|
||||
]>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="200" height="200">
|
||||
<text x="10" y="20">&xxe;</text>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 232 B |
Reference in New Issue
Block a user