REDHAT-BUG-2487107: High severity npm/react-router-dom vulnerability

Published Jun 9, 2026
·
Updated

Repository: migration-planner-ui-app Priority: High Location: src/ui/environment/views/AgentStatusView.tsx:50 (also CreateFromOva.tsx:196, Environment.tsx:131)

Description: Discovery agents self-report credentialUrl when registering. The UI renders this string as react-router-dom <Link to=> prop and plain <a href> with no scheme validation. react-router-dom 6.30.3 passes absolute-scheme URLs to DOM <a href>, and React 18.3.1 only warns in dev mode about javascript: - production builds render verbatim. Users are instructed to click the link to reach the discovery VM.

Security Impact:

Attacker registers agent with credentialUrl: "javascript:..."

Stored payload executes in http://console.redhat.com origin when any org user clicks link

Yields victim's RH SSO session, enabling cross-tenant data access and API actions as victim

Persistent compromise within organization

Fix Suggestion: Introduce safeExternalUrl() helper that parses URL and returns only if protocol is http: or https:. Gate all three render sites so non-http(s) credentialUrl doesn't render as link. See patches/f101.patch.

Affected Software

2 affected components
npm/react-router-dom=6.30.3
npm/react=18.3.1

Event History

Jun 9, 2026
Data Sourced
via Red Hat·06:02 PM
DescriptionSeverityAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of REDHAT-BUG-2487107?

The severity of REDHAT-BUG-2487107 is classified as high with a score of 7.

2

How do I fix REDHAT-BUG-2487107?

To fix REDHAT-BUG-2487107, ensure that the credentialUrl from discovery agents is properly sanitized before rendering it in the <Link to=> prop.

3

What components are affected by REDHAT-BUG-2487107?

REDHAT-BUG-2487107 affects the migration-planner-ui-app, specifically in the AgentStatusView.tsx, CreateFromOva.tsx, and Environment.tsx files.

4

What is the description of REDHAT-BUG-2487107?

REDHAT-BUG-2487107 describes an issue where discovery agents self-report the credentialUrl during registration, which is rendered in the UI without proper validation.

5

When was REDHAT-BUG-2487107 published?

REDHAT-BUG-2487107 was published on June 9, 2026.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203