File: xml_malicious_comment.xml

package info (click to toggle)
feedparser 6.0.12-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 10,540 kB
  • sloc: xml: 11,459; python: 4,575; makefile: 7
file content (7 lines) | stat: -rw-r--r-- 242 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
<!--
Description: malicious comment
Expect:      not bozo and feed['title'] == 'safe'
-->
<feed xmlns="http://www.w3.org/2005/Atom">
  <title type="html">sa&lt;!-- -- nonwhitespace &gt;fe&lt;script&gt;alert(1);&lt;/script&gt;</title>
</feed>