GHSA-9qgr-6vpg-9gh9

Suggest an improvement
Source
https://github.com/advisories/GHSA-9qgr-6vpg-9gh9
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/05/GHSA-9qgr-6vpg-9gh9/GHSA-9qgr-6vpg-9gh9.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-9qgr-6vpg-9gh9
Aliases
  • CVE-2026-46547
Published
2026-05-21T20:34:09Z
Modified
2026-05-21T20:45:10.173363413Z
Severity
  • 6.1 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N CVSS Calculator
Summary
NocoDB: Reflected Cross-Site Scripting via Page Leaving Redirect URL
Details

Summary

A reflected XSS vulnerability exists in the Page Leaving Warning page. The ncRedirectUrl and ncBackUrl query parameters are used in window.location.href and <a> tag bindings without validation, allowing javascript: URI injection.

Details

PageLeavingWarning.vue reads ncRedirectUrl and ncBackUrl directly from the route query without validation. When isSameOriginUrl() returns false (as it does for javascript: URIs), the raw URL is assigned to window.location.href, executing arbitrary JavaScript. The redirect URL is also bound directly to an <a> tag's href attribute.

Impact

An attacker can execute arbitrary JavaScript in the context of the NocoDB application by sending a crafted link to a victim. No authentication is required.

Credit

This issue was reported by @naoyashiga.

Database specific
{
    "nvd_published_at": null,
    "cwe_ids": [
        "CWE-79"
    ],
    "github_reviewed": true,
    "severity": "MODERATE",
    "github_reviewed_at": "2026-05-21T20:34:09Z"
}
References

Affected packages

npm / nocodb

Package

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Last affected
0.301.3

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/05/GHSA-9qgr-6vpg-9gh9/GHSA-9qgr-6vpg-9gh9.json"