NppMarkdownPanel
NppMarkdownPanel copied to clipboard
bug report - XSS
you should use a richtextbox rather than a webviewer more information about XSS: https://en.wikipedia.org/wiki/Cross-site_scripting
payload:
)
screenshot:
The idea is to use a real html-renderer with full css/font support. The most .NET HTML-rendering engines are very limited in terms of styling. You can try the plugin MarkdownViewer++ https://github.com/nea/MarkdownViewerPlusPlus , which is using some kind richtext component to render the HTML. I think for the MarkdownPanel the best approch is to add an option to enable a HTML-Sanitizer https://github.com/mganss/HtmlSanitizer before the HTML is send to the browser.