Skip to content

User assisted XSS #4717

Closed
Closed
@chrisjohansson

Description

@chrisjohansson

Environment

  • Python version: Python 3.7.5
  • NetBox version: v2.8.5

Steps to Reproduce

  1. Add the following to any markdown comments section: [click me for XSS](javascript:alert(1))
  2. View the comments section and click the link
  3. User supplied javascript is executed

Expected Behavior

Javascript URIs to be filtered (or more accurately only http/https URIs to be allowed)

Observed Behavior

User supplied javascript was executed (this could potentially be used to escalate to admin privileges).

Metadata

Metadata

Assignees

Labels

status: acceptedThis issue has been accepted for implementationtype: featureIntroduction of new functionality to the application

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions