CVE-2026-53472: Migration-planner: credentialurl validator accepts javascript: urls

Published Jun 9, 2026
·
Updated

A flaw was found in migration-planner. Insufficient validation of the AgentStatusUpdate.CredentialUrl field allows an authenticated attacker to store a malicious javascript: URL. When a victim views this URL in the Hybrid Cloud Console, it can lead to Cross-Site Scripting (XSS), enabling script execution in the victim's session and potentially disclosing sensitive information.

Other sources

Repository: migration-planner Priority: Medium Location: internal/handlers/validator/rules.go:11

Description: AgentStatusUpdate.CredentialUrl field is tagged validate:"url". go-playground/validator's url rule only checks RFC-3986 well-formedness, so javascript:alert(document.cookie) passes. Value is stored in Postgres and rendered as clickable link in migration-planner-ui-app inside Hybrid Cloud Console .

Security Impact:

Backend persistence gate for stored XSS in Red Hat hybrid-cloud console

Requires agent control alone, but chains with f003→f002 for any authenticated user to plant javascript: URL in another org's source

Script execution in victim's Hybrid Cloud Console session

Fix Suggestion: Parse URL at handler and reject anything whose scheme is not http or https before reaching service layer. UI should also stop rendering this field as raw href, but backend must not store malicious payload. See patches/f001.patch.

— Red Hat

Affected Software

1 affected component
migration-planner

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Configuration

    Update the credentialurl validation in migration-planner so AgentStatusUpdate.CredentialUrl is parsed at the handler and the scheme is checked; reject anything whose scheme is not http or https before the request reaches the service layer.

    migration-planner credentialurl validator (internal/handlers/validator/rules.go:11) AgentStatusUpdate.CredentialUrl scheme allowlist = Only allow schemes http and https; reject javascript: URLs
  2. Configuration

    Change the UI so it no longer renders AgentStatusUpdate.CredentialUrl as a raw clickable href; ensure the backend does not store malicious payloads.

    migration-planner-ui-app (Hybrid Cloud Console) Rendering of AgentStatusUpdate.CredentialUrl as href = Do not render as raw href
  3. Compensating control

    Apply backend validation and UI rendering changes to prevent stored XSS via AgentStatusUpdate.CredentialUrl being stored in Postgres and rendered as a clickable link in the Hybrid Cloud Console migration-planner-ui-app.

Event History

Jun 9, 2026
Data Sourced
via Red Hat·05:55 PM
DescriptionSeverityAffected Software
Aug 14, 2026
CVE Published
via MITRE·02:00 PM
Data Sourced
via MITRE·02:00 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·02:16 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

What is the severity of CVE-2026-53472?

CVE-2026-53472 has a medium severity score of 6.3.

2

How does CVE-2026-53472 impact users?

CVE-2026-53472 allows authenticated attackers to store malicious `javascript:` URLs, leading to potential Cross-Site Scripting (XSS) attacks.

3

How do I fix CVE-2026-53472?

To address CVE-2026-53472, ensure proper validation of the `AgentStatusUpdate.CredentialUrl` field to disallow `javascript:` URLs.

4

Who is affected by CVE-2026-53472?

Users of the Migration-planner software who interact with the Hybrid Cloud Console are susceptible to CVE-2026-53472.

5

What type of vulnerability is CVE-2026-53472?

CVE-2026-53472 is classified as a Cross-Site Scripting (XSS) vulnerability.

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