Reflected cross-site scripting (XSS) In markdown2
Description
markdown2 is vulnerable to cross-site scripting
An issue was discovered in markdown2 (aka python-markdown2) through 2.3.5. The safe_mode feature, which is supposed to sanitize user input against XSS, is flawed and does not escape the input properly. With a crafted payload, XSS can be triggered, as demonstrated by omitting the final > character from an IMG tag.
Mitigation
Update Impact
Minimal update. May introduce new vulnerabilities or breaking changes.
Ecosystem | Package | Affected version | Patched versions |
|---|---|---|---|
pypi | 2.3.6 |
Aliases
1. 2. 3. 4. 5.
References
1. 2. 3. 4. 5. 6.