Skip to content

Cross-Site Scripting (XSS) in "/api/part_categories" #1240

Open
@tuando243

Description

Bug description

A Cross Site Scripting vulnerabilty exists in PartKeepr 1.4.0 via the 'name' field in /api/part_categories.

Steps to reproduce

  1. Login as admin.
  2. Click on 'Add Category'.
  3. Insert XSS payload (<img src=1 onerror=alert('xss')>) in the "Name" field and click on Save.

1

2

3

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions