Skip to content

Security: aura-ui/router

Security

SECURITY.md

Security policy

Supported versions

We accept security reports for:

  • The latest published @auraui/router release on npm, and
  • The current default branch of this repository (pre-alpha; API may change).

Older commits, forks, and unmodified demos are unsupported.

Pre-alpha (0.0.x): fixes are best-effort. Pin exact versions in apps.

Reporting a vulnerability

Do not open a public GitHub issue or discussion for security bugs.

Report via a private GitHub security advisory.

Please include:

  1. Package / commit (e.g. @auraui/router@0.0.1 or a commit SHA)
  2. Impact (what an attacker can do)
  3. Minimal reproduction (HTML + JS)
  4. Whether the attack needs attacker-controlled route markup or other already-trusted app config

There is no bug bounty and no fixed response SLA. We will acknowledge when we can and follow up on triage.

Trust model

Aura Router runs in the browser and renders content from app-supplied configuration:

  • <aura-router> / <aura-route> attributes (view, layout, html::…, url / iframe targets, extract, lifecycle attrs, …)
  • Registered hooks and any HTML they cause the app to insert

That configuration is trusted, same as server-rendered templates. Putting attacker-controlled strings into those attrs without sanitization is an application vulnerability, not a router bug. See LIMITATIONS.md.

Scope

In scope

Bugs in this library that increase impact even when route config is trusted, for example:

  • Unexpected script execution or HTML injection from library defaults or internal handling (not from app-supplied view / html:: content)
  • Prototype pollution or similar issues reachable through the public API
  • Open redirects or navigation behavior that bypasses guards the app correctly configured

Out of scope

  • XSS or data exfiltration from untrusted values in route attrs, loader targets, or extract selectors
  • Pointing url / iframe at untrusted origins (no allowlist by design)
  • Issues only in playground/ or other sample apps
  • Denial of service against a host page, social engineering, or vulnerabilities solely in third-party dependencies
  • Feature requests, API design, and docs gaps → Issues

Safe use

  • Pin exact @auraui/router versions while on 0.0.x
  • Keep route markup and loader targets under your control
  • Prefer same-origin url views; treat cross-origin iframe:: / fetch targets as an explicit trust decision

There aren't any published security advisories