markdown2 is vulnerable to cross-site scripting (XSS) attacks. The vulnerability is introduced by an incomplete fix to properly encode ampersands and angle brackets in the function _encode_amps_and_angles
,allowing an attacker to inject arbitrary Javascript into a victim’s browser.
lists.opensuse.org/opensuse-security-announce/2020-05/msg00031.html
lists.opensuse.org/opensuse-security-announce/2020-05/msg00035.html
github.com/trentm/python-markdown2/issues/348
lists.fedoraproject.org/archives/list/[email protected]/message/6XOAIRJJCZNJUALXDHSIGH5PS2H63A3J/
lists.fedoraproject.org/archives/list/[email protected]/message/AQLRBGRVRRZK7P5SFL2MNGXFX37YHJAV/
lists.fedoraproject.org/archives/list/[email protected]/message/PN6QSHRFZXRQAYZJQ4MOW5MKIXBYOMED/