Skip to content

Comments

Backport of [Security] Close cross scripting vulnerability into release/1.19.x#21346

Merged
sarahalsmiller merged 2 commits intorelease/1.19.xfrom
backport/NET-8682-Vulnerabilities-in-consul-enterprise-Reflected-cross-site-scripting-in-agent-kvs_endpoint.go-296/ghastly-brief-imp
Jun 17, 2024
Merged

Backport of [Security] Close cross scripting vulnerability into release/1.19.x#21346
sarahalsmiller merged 2 commits intorelease/1.19.xfrom
backport/NET-8682-Vulnerabilities-in-consul-enterprise-Reflected-cross-site-scripting-in-agent-kvs_endpoint.go-296/ghastly-brief-imp

Conversation

@hc-github-team-consul-core
Copy link
Collaborator

Backport

This PR is auto-generated from #21342 to be assessed for backporting due to the inclusion of the label backport/1.19.

The below text is copied from the body of the original PR.


Description

Sanitizes the user input before returning it using %v instead of directly concatenating the string

Testing & Reproduction steps

Links

https://github.com/hashicorp/consul-enterprise/security/code-scanning/17

PR Checklist

  • updated test coverage
  • external facing docs updated
  • appropriate backport labels added
  • not a security concern

Overview of commits

@hc-github-team-consul-core hc-github-team-consul-core force-pushed the backport/NET-8682-Vulnerabilities-in-consul-enterprise-Reflected-cross-site-scripting-in-agent-kvs_endpoint.go-296/ghastly-brief-imp branch from ae2e410 to 0abd03e Compare June 17, 2024 17:55
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Auto approved Consul Bot automated PR

@sarahalsmiller sarahalsmiller merged commit a1ee7cb into release/1.19.x Jun 17, 2024
@sarahalsmiller sarahalsmiller deleted the backport/NET-8682-Vulnerabilities-in-consul-enterprise-Reflected-cross-site-scripting-in-agent-kvs_endpoint.go-296/ghastly-brief-imp branch June 17, 2024 21:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants