{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-122244",
        "assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
        "state": "PUBLISHED",
        "assignerShortName": "GitHub_M",
        "dateReserved": "2026-11-04T21:23:42.456Z",
        "datePublished": "2026-11-20T16:50:06.338Z",
        "dateUpdated": "2026-11-20T18:58:46.737Z"
    },
    "containers": {
        "cna": {
            "title": "Budibase: Cross-privilege Stored XSS in the Budibase Builder via broken HTML-escaping in `jsonFormatter.format()` rendered through `{@html}` in the CSP-less Builder origin",
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "cweId": "CWE-79",
                            "lang": "en",
                            "description": "CWE-79: Improper Neutralization of Input During Web Page Generation",
                            "type": "CWE"
                        }
                    ]
                },
                {
                    "descriptions": [
                        {
                            "cweId": "CWE-116",
                            "lang": "en",
                            "description": "CWE-116: Improper Encoding or Escaping of Output",
                            "type": "CWE"
                        }
                    ]
                },
                {
                    "descriptions": [
                        {
                            "cweId": "CWE-1021",
                            "lang": "en",
                            "description": "CWE-1021: Improper Restriction of Rendered UI Layers or Frames",
                            "type": "CWE"
                        }
                    ]
                }
            ],
            "metrics": [
                {
                    "cvssV3_1": {
                        "attackComplexity": "HIGH",
                        "attackVector": "NETWORK",
                        "availabilityImpact": "NONE",
                        "baseScore": 7.7,
                        "baseSeverity": "HIGH",
                        "confidentialityImpact": "HIGH",
                        "integrityImpact": "HIGH",
                        "privilegesRequired": "LOW",
                        "scope": "CHANGED",
                        "userInteraction": "REQUIRED",
                        "vectorString": "CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:N",
                        "version": "3.1"
                    }
                }
            ],
            "references": [
                {
                    "name": "https://github.com/Budibase/budibase/security/advisories/GHSA-r2q3-7m4h-63qg",
                    "tags": [
                        "x_refsource_CONFIRM"
                    ],
                    "url": "https://github.com/Budibase/budibase/security/advisories/GHSA-r2q3-7m4h-63qg"
                },
                {
                    "name": "https://github.com/Budibase/budibase/commit/5f37fb43728639c540cc7233283f1100e9315424",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/Budibase/budibase/commit/5f37fb43728639c540cc7233283f1100e9315424"
                },
                {
                    "name": "https://github.com/Budibase/budibase/releases/tag/v3.50.0",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/Budibase/budibase/releases/tag/v3.50.0"
                },
                {
                    "name": "https://github.com/Budibase/budibase/releases/tag/v4.0.0",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/Budibase/budibase/releases/tag/v4.0.0"
                }
            ],
            "affected": [
                {
                    "vendor": "Budibase",
                    "product": "budibase",
                    "versions": [
                        {
                            "version": "< 3.50.0",
                            "status": "affected"
                        }
                    ]
                }
            ],
            "providerMetadata": {
                "orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
                "shortName": "GitHub_M",
                "dateUpdated": "2026-11-20T16:50:06.338Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "Budibase is an open-source low-code platform. Prior to 3.50.0, a BASIC application user, or an unauthenticated visitor to a public write form, can store markup in a shared external datasource that a builder or administrator later evaluates in any Handlebars binding Preview that surfaces the value, including the Data-section Formula column editor or any binding drawer. jsonFormatter.format() in packages/frontend-core/src/utils/jsonFormatter.ts leaves raw strings and object keys unescaped, while packages/builder/src/components/common/bindings/EvaluationSidePanel.svelte inserts the formatted result as raw HTML. The Handlebars SafeString path preserves the attacker-controlled value, and the Builder origin lacks a Content-Security-Policy that would block the resulting script. This permits stored script execution in the higher-privileged builder or administrator session rather than the writer's own role, allowing privileged Builder API actions and workspace data access. This issue is fixed in versions 3.50.0 and 4.0.0."
                }
            ],
            "source": {
                "advisory": "GHSA-r2q3-7m4h-63qg",
                "discovery": "UNKNOWN"
            }
        },
        "adp": [
            {
                "references": [
                    {
                        "url": "https://github.com/Budibase/budibase/security/advisories/GHSA-r2q3-7m4h-63qg",
                        "tags": [
                            "exploit"
                        ]
                    }
                ],
                "metrics": [
                    {
                        "other": {
                            "type": "ssvc",
                            "content": {
                                "timestamp": "2026-11-20T18:58:28.172708Z",
                                "id": "CVE-2026-122244",
                                "options": [
                                    {
                                        "Exploitation": "poc"
                                    },
                                    {
                                        "Automatable": "no"
                                    },
                                    {
                                        "Technical Impact": "total"
                                    }
                                ],
                                "role": "CISA Coordinator",
                                "version": "2.0.3"
                            }
                        }
                    }
                ],
                "title": "CISA ADP Vulnrichment",
                "providerMetadata": {
                    "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
                    "shortName": "CISA-ADP",
                    "dateUpdated": "2026-11-20T18:58:46.737Z"
                }
            }
        ]
    }
}