/

CVE-2026-77811

Severity:

HIGH RISK

(8.7)

Stored XSS (CWE-79) in OpenSearch Dashboards Plugin

CVE-2026-77811

Awaiting Analysis

Vulnerability type

Category:

Stored Cross-Site Scripting

CWE:

CWE-79

Impact:

Arbitrary JavaScript execution in other users' browser sessions

Severity:

HIGH RISK

(8.7)

CVSS version:

3.1

Catch this CVE while code is being written

Detect vulnerable code directly in pull requests, so CVEs are fixed before merge.

Summary

A stored cross-site scripting vulnerability in the dashboards-observability plugin for OpenSearch Dashboards allows an authenticated user with saved-object write permissions to upload an asset containing arbitrary web content. When other users view or interact with the affected content, JavaScript may execute in their browser sessions, potentially exposing data or enabling actions with their privileges.

Affected context

The issue occurs in OpenSearch Dashboards deployments using the dashboards-observability plugin where saved assets can contain or reference web content and are rendered in users' browser sessions. Risk depends on the attacker having authenticated write access to saved objects and on other users viewing or loading the affected asset.

Exploit preconditions

  • Attack surface: OpenSearch Dashboards saved-object and asset handling functionality
  • Required access: An authenticated account with permission to write saved objects
  • Trigger point: A victim's browser loads or renders the attacker-controlled saved asset
  • Why exploitation is possible: The plugin does not sufficiently validate or constrain uploaded web content before it is presented in a browser context trusted by other users

Why this happens

The vulnerability results from improper validation and handling of user-controlled web content in saved assets. Content that can include executable browser markup or script is accepted and later rendered without adequate output encoding, sanitization, or isolation. This maps to CWE-79: Improper Neutralization of Input During Web Page Generation, commonly known as cross-site scripting.

Potential impact

  • A malicious user may execute JavaScript in another user's dashboard session
  • An attacker could access information available to the victim's browser session
  • Unauthorized actions could be performed with the victim's privileges
  • Session data or dashboard content could be exposed or altered
  • Administrative users could be targeted, increasing the impact of successful exploitation

General mitigation guidance

Mitigation generally focuses on treating saved assets and uploaded content as untrusted data throughout their lifecycle.

Common defensive patterns include:

  • Applying strict allowlist-based validation to uploaded asset types and content
  • Using context-appropriate output encoding and robust sanitization before rendering
  • Avoiding direct insertion of untrusted content into active browser contexts
  • Isolating user-controlled content through appropriate browser and content-security boundaries
  • Restricting saved-object write permissions according to least privilege
  • Requiring explicit trust controls for content that must support limited active behavior

How teams detect issues like this

Organizations can look for this class of issue through:

  • Static analysis rules for unsafe HTML insertion, dynamic script execution, and insufficient sanitization
  • Code review checks for saved-object content that reaches browser rendering sinks
  • Tests that submit encoded, malformed, and script-like content to asset upload and display paths
  • Monitoring for unexpected saved-object creation, modification, or unusual asset content
  • Content Security Policy reporting and browser telemetry for blocked or unexpected script execution
  • Automated application security testing focused on authenticated stored-XSS workflows

Sources

SourceLink
aws.amazon.comaws.amazon.com/security/security-bulletins/2026-088-aws/
github.comgithub.com/opensearch-project/dashboards-observability/security/advisories/GHSA-rmqx-r3wm-3px5
opensearch.orgopensearch.org/artifacts/by-version/#release-2-19-6
opensearch.orgopensearch.org/artifacts/by-version/#release-3-4-0

Frequently asked

questions

Yes, within the application's access model. An attacker generally needs network access to OpenSearch Dashboards, valid authentication, and permission to write saved objects.

No. Exploitation depends on whether the attacker can create or modify a saved asset and whether another user loads the affected content. Users with higher privileges may be more valuable targets.

Treat uploaded assets as untrusted, validate them with strict allowlists, sanitize and encode content for its rendering context, and prevent active content from executing unless it is explicitly required and safely isolated.

Combine least-privilege saved-object permissions with secure output handling, browser isolation controls, Content Security Policy enforcement, security-focused code review, and authenticated XSS testing.

Find out what's already
exploitable in your codebase.