mirror of
https://github.com/rhasspy/espeak-ng.git
synced 2026-12-06 08:40:54 +00:00
Add tests on SSML parsing
A corpus of SSML input files will also be needed for fuzzing. https://github.com/espeak-ng/espeak-ng/issues/407
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
<?xml version="1.0"?>
|
||||
<!-- SSML version of the “XML External Entity” attack
|
||||
https://en.wikipedia.org/wiki/XML_external_entity_attack
|
||||
-->
|
||||
<!DOCTYPE test [
|
||||
<!ENTITY xxeattack SYSTEM "file:///etc/passwd">
|
||||
]>
|
||||
<speak version="1.1" xmlns="http://www.w3.org/2001/10/synthesis"
|
||||
xml:lang="en-US">
|
||||
<p>Here are the passwords:</p>
|
||||
<p>&xxeattack;</p>
|
||||
</speak>
|
||||
Reference in New Issue
Block a user