Skip to content

/assessments/addDefaultVuln does not sanitize Name or Severity leading to possible security issues #103

Description

@Raven1217

The assessments.java function for addDefaultVuln requires both Name and Severity as user input values, however, does not perform any sanitization of these fields prior to writing to the assessment vulnerability table. Details is also allowed to be user defined, however, a decodeAndSanitize function is provides some protections prior to writing.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions