/

CVE-2026-135693

Severity:

HIGH RISK

(8.7)

Stored Cross-Site Scripting (CWE-79) in rConfig Search View

CVE-2026-135693

Received

Vulnerability type

Category:

Stored Cross-Site Scripting

CWE:

CWE-79

Impact:

Client-side script execution and potential exposure of user-accessible configuration data

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

rConfig's Config Search View Matches dialog renders configuration context as HTML without escaping it, allowing stored markup in device-related fields to execute as script in a user's browser. If a user opens a dialog containing attacker-controlled content, the script may act within that user's session and access information available to them, including stored configurations.

Affected context

The issue affects rConfig Core versions before 8.2.17 and rConfig Pro versions before 8.4.0. It occurs in the Config Search View Matches dialog when configuration context—such as device banners, interface descriptions, ACL remarks, or SNMP locations—is rendered through an HTML sink without escaping.

Exploit preconditions

  • Attack surface: The rConfig web interface, specifically the Config Search View Matches dialog.
  • Required access: An attacker must be able to cause attacker-controlled markup to be stored in a field displayed in the dialog; the precise access path depends on deployment permissions and workflows.
  • Trigger point: A user views matching configuration context containing the stored content.
  • Why exploitation is possible: The dialog renders the content with v-html without escaping it, so the browser may interpret the stored markup as executable HTML or script.

Why this happens

The underlying issue is unsafe rendering of untrusted, persisted data in an HTML context. Using v-html without appropriate sanitization or context-aware output encoding allows markup to be interpreted by the browser rather than displayed as text. This is a stored cross-site scripting flaw mapped to CWE-79: Improper Neutralization of Input During Web Page Generation.

Potential impact

  • Script may execute in the context of a user's rConfig session.
  • An attacker could potentially access configuration data that the affected user is authorized to view.
  • Session actions or information available to the user may be exposed or misused, depending on application controls.
  • Trust in the integrity of configuration review workflows could be undermined.

General mitigation guidance

Defensive patterns focus on treating stored configuration content as untrusted and preventing it from being interpreted as active HTML.

  • Prefer rendering untrusted values as text with framework-default escaping.
  • Avoid raw HTML rendering for configuration context; where rich markup is necessary, apply a restrictive, well-maintained sanitizer with an explicit allowlist.
  • Validate and constrain data at ingestion where practical, while retaining output encoding as the primary browser-side defense.
  • Limit who and what can write device metadata and configuration fields displayed in the interface.
  • Apply least privilege to user accounts and restrict access to sensitive configurations.

How teams detect issues like this

  • Use static analysis to identify raw HTML rendering sinks such as v-html, and trace whether their inputs can contain user- or device-controlled data.
  • Review UI components that display configuration values, banners, descriptions, remarks, or location fields; check that output encoding or a narrowly scoped sanitizer is applied.
  • Add tests that verify markup in stored values is displayed inertly in the Config Search View Matches dialog.
  • Enforce code-review or CI policies that require security review for raw HTML rendering and changes to sanitization behavior.
  • Monitor authorized application workflows for unexpected changes to device metadata or configuration fields that appear in search results.

Sources

SourceLink
github.comgithub.com/rconfig/rconfig/commit/41d96a9a23d1ce94a9bc1e3b0b794567355b10ff
github.comgithub.com/rconfig/rconfig/issues/368
github.comgithub.com/rconfig/rconfig/releases/tag/core-8.2.17
github.comgithub.com/rconfig/rconfig/security/advisories/GHSA-vx3w-xf2x-5335
vulncheck.comvulncheck.com/advisories/rconfig-core-8.0.0-before-8.2.17-and-pro-before-8.4.0-stored-xss-via-view-matches

Frequently asked

questions

The described issue is triggered when a user views attacker-controlled stored content in the Config Search View Matches dialog. Its practical scope depends on which fields can be changed and which users view them.

The attacker needs a way to place or cause markup to be stored in a field rendered by the dialog. The required permissions depend on the deployment's device-management and configuration workflows.

Render configuration values as text using the framework's default escaping. If HTML is genuinely required, sanitize it with a restrictive allowlist before rendering.

Treat stored values as untrusted, review raw HTML rendering sinks, test that hostile markup remains inert, and limit write access to fields displayed in the interface.

Find out what's already
exploitable in your codebase.