Skip to content

XSS in markdown rendering  #7788

@SoufElhabti

Description

@SoufElhabti

NetBox version

v3.0.9

Python version

3.8

Steps to Reproduce

  1. installed Netbox from docker https://hub.docker.com/r/netboxcommunity/netbox/
  2. use any input that accepts markdown
  3. submit this payload :
[37qpypz37qpypz37qpypz37qpypz37qpypz]  
37qpypz37qpypz37qpypz37qpypz37qpypz]: javascript:alert(1)
  1. when the submiting the for click the link and the xss will fire up

Expected Behavior

the payload is dangerous and allowing XSS attack

Observed Behavior

executing javascript in admin dashboard

Metadata

Metadata

Assignees

Labels

status: acceptedThis issue has been accepted for implementationtype: bugA confirmed report of unexpected behavior in the application

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions