Skip to content
MediumNews

CVE 2020-16977: VS Code Python Extension Remote Code Execution

Published
Record updated
View JSON

Summary

Johann Rehberger reported an HTML and JavaScript injection flaw in Microsoft's VS Code Python extension, in the traceback (error and exception) rendering path of Jupyter Notebooks, where strings were not correctly escaped. A malicious notebook, a modified notebook file, or a remote server controlling error content could trigger it, potentially stealing user information or taking over the victim's computer. MSRC confirmed the issue with an important severity rating and assigned CVE-2020-16977.

Mitigation

Fixed by Microsoft. The source does not state the fixed version.