Cross-site Scripting (XSS) Affecting github.com/open-policy-agent/opa/server package, versions <0.9.2


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Cross-site Scripting (XSS) vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-GOLANG-GITHUBCOMOPENPOLICYAGENTOPASERVER-564442
  • published7 Apr 2020
  • disclosed4 Sept 2018
  • creditUnknown

Introduced: 4 Sep 2018

CVE NOT AVAILABLE CWE-79  (opens in a new tab)

How to fix?

Upgrade github.com/open-policy-agent/opa/server to version 0.9.2 or higher.

Overview

github.com/open-policy-agent/opa/server is an open source, general-purpose policy engine that enables unified, context-aware policy enforcement across the entire stack.

Affected versions of this package are vulnerable to Cross-site Scripting (XSS). The OPA debug page (index.html) is vulnerable due to the query parameter not being sanitized before being included in the rendered index.html page.

Details

CVSS Scores

version 3.1