{
    "document": {
        "category": "csaf_base",
        "csaf_version": "2.0",
        "distribution": {
            "tlp": {
                "label": "WHITE"
            }
        },
        "lang": "en",
        "notes": [
            {
                "category": "legal_disclaimer",
                "text": "The Netherlands Cyber Security Center (henceforth: NCSC-NL) maintains this portal to enhance access to its information and vulnerabilities. The use of this information is subject to the following terms and conditions:\n\nThe vulnerabilities disclosed in this portal are gathered by NCSC-NL from a variety of open sources, which the user can retrieve from other platforms. NCSC-NL makes every reasonable effort to ensure that the content of this portal is kept up to date, and that it is accurate and complete. Nevertheless, NCSC-NL cannot entirely rule out the possibility of errors, and therefore cannot give any warranty in respect of its completeness, accuracy or real-time keeping up-to-date. NCSC-NL does not control nor guarantee the accuracy, relevance, timeliness or completeness of information obtained from these external sources. The vulnerabilities disclosed in this portal are intended solely for the convenience of professional parties to take appropriate measures to manage the risks posed to the cybersecurity. No rights can be derived from the information provided therein.\n\nNCSC-NL and the Kingdom of the Netherlands assume no legal liability or responsibility for any damage resulting from either the use or inability of use of the vulnerabilities disclosed in this portal. This includes damage resulting from the inaccuracy of incompleteness of the information contained in it.\nThe information on this page is subject to Dutch law. All disputes related to or arising from the use of this portal regarding the disclosure of vulnerabilities will be submitted to the competent court in The Hague. This choice of means also applies to the court in summary proceedings."
            }
        ],
        "publisher": {
            "category": "coordinator",
            "contact_details": "cert@ncsc.nl",
            "name": "National Cyber Security Centre",
            "namespace": "https://www.ncsc.nl/"
        },
        "title": "CVE-2026-27166",
        "tracking": {
            "current_release_date": "2026-03-27T12:14:00.034881Z",
            "generator": {
                "date": "2026-02-17T15:00:00Z",
                "engine": {
                    "name": "V.E.L.M.A",
                    "version": "1.7"
                }
            },
            "id": "CVE-2026-27166",
            "initial_release_date": "2026-03-20T18:18:02.416450Z",
            "revision_history": [
                {
                    "date": "2026-03-20T18:18:02.416450Z",
                    "number": "1",
                    "summary": "CVE created.| Source created.| CVE status created. (valid)| Description created for source.| CVSS created.| Products created (3).| References created (2).| CWES updated (1)."
                },
                {
                    "date": "2026-03-20T18:18:07.183065Z",
                    "number": "2",
                    "summary": "NCSC Score created."
                },
                {
                    "date": "2026-03-20T18:18:26.774743Z",
                    "number": "3",
                    "summary": "Source created.| CVE status created. (valid)| Description created for source.| CVSS created.| References created (2).| CWES updated (1)."
                },
                {
                    "date": "2026-03-20T18:18:29.668046Z",
                    "number": "4",
                    "summary": "NCSC Score updated."
                },
                {
                    "date": "2026-03-20T19:46:14.563394Z",
                    "number": "5",
                    "summary": "NCSC Score updated."
                },
                {
                    "date": "2026-03-20T22:09:14.442061Z",
                    "number": "6",
                    "summary": "Source connected.| CVE status created. (valid)| EPSS created."
                },
                {
                    "date": "2026-03-20T22:09:23.587685Z",
                    "number": "7",
                    "summary": "NCSC Score updated."
                },
                {
                    "date": "2026-03-21T04:39:39.584315Z",
                    "number": "8",
                    "summary": "Unknown change."
                },
                {
                    "date": "2026-03-25T01:26:16.083359Z",
                    "number": "9",
                    "summary": "Products created (1).| Product Identifiers created (4).| Products connected (3)."
                },
                {
                    "date": "2026-03-25T01:26:23.121290Z",
                    "number": "10",
                    "summary": "NCSC Score updated."
                },
                {
                    "date": "2026-03-27T12:06:15.502430Z",
                    "number": "11",
                    "summary": "Source created.| CVE status created. (valid)| Description created for source.| CVSS created.| Products connected (3).| References created (3)."
                },
                {
                    "date": "2026-03-27T12:06:17.655168Z",
                    "number": "12",
                    "summary": "NCSC Score updated."
                }
            ],
            "status": "interim",
            "version": "12"
        }
    },
    "product_tree": {
        "branches": [
            {
                "branches": [
                    {
                        "branches": [
                            {
                                "category": "product_version_range",
                                "name": "vers:unknown/>=2026.1.0|<2026.1.2",
                                "product": {
                                    "name": "vers:unknown/>=2026.1.0|<2026.1.2",
                                    "product_id": "CSAFPID-5938264"
                                }
                            },
                            {
                                "category": "product_version_range",
                                "name": "vers:unknown/>=2026.2.0|<2026.2.1",
                                "product": {
                                    "name": "vers:unknown/>=2026.2.0|<2026.2.1",
                                    "product_id": "CSAFPID-5938265"
                                }
                            },
                            {
                                "category": "product_version_range",
                                "name": "vers:unknown/>=2026.3.0|<2026.3.0",
                                "product": {
                                    "name": "vers:unknown/>=2026.3.0|<2026.3.0",
                                    "product_id": "CSAFPID-5938266"
                                }
                            }
                        ],
                        "category": "product_name",
                        "name": "discourse"
                    }
                ],
                "category": "vendor",
                "name": "Bitnami"
            },
            {
                "branches": [
                    {
                        "branches": [
                            {
                                "category": "product_version_range",
                                "name": "vers:unknown/2026.3.0",
                                "product": {
                                    "name": "vers:unknown/2026.3.0",
                                    "product_id": "CSAFPID-5900847",
                                    "product_identification_helper": {
                                        "cpe": "cpe:2.3:a:discourse:discourse:2026.3.0:*:*:*:latest:*:*:*"
                                    }
                                }
                            },
                            {
                                "category": "product_version_range",
                                "name": "vers:unknown/<2026.3.0",
                                "product": {
                                    "name": "vers:unknown/<2026.3.0",
                                    "product_id": "CSAFPID-5904068",
                                    "product_identification_helper": {
                                        "cpe": "cpe:2.3:a:discourse:discourse:*:*:*:*:*:*:*:*"
                                    }
                                }
                            },
                            {
                                "category": "product_version_range",
                                "name": "vers:unknown/<2026.3.0-latest.1",
                                "product": {
                                    "name": "vers:unknown/<2026.3.0-latest.1",
                                    "product_id": "CSAFPID-5873965"
                                }
                            },
                            {
                                "category": "product_version_range",
                                "name": "vers:unknown/>=2026.1.0-latest|<2026.1.2",
                                "product": {
                                    "name": "vers:unknown/>=2026.1.0-latest|<2026.1.2",
                                    "product_id": "CSAFPID-5873967"
                                }
                            },
                            {
                                "category": "product_version_range",
                                "name": "vers:unknown/>=2026.1.0|<2026.1.2",
                                "product": {
                                    "name": "vers:unknown/>=2026.1.0|<2026.1.2",
                                    "product_id": "CSAFPID-5900845",
                                    "product_identification_helper": {
                                        "cpe": "cpe:2.3:a:discourse:discourse:*:*:*:*:*:*:*:*"
                                    }
                                }
                            },
                            {
                                "category": "product_version_range",
                                "name": "vers:unknown/>=2026.2.0-latest|<2026.2.1",
                                "product": {
                                    "name": "vers:unknown/>=2026.2.0-latest|<2026.2.1",
                                    "product_id": "CSAFPID-5873966"
                                }
                            },
                            {
                                "category": "product_version_range",
                                "name": "vers:unknown/>=2026.2.0|<2026.2.1",
                                "product": {
                                    "name": "vers:unknown/>=2026.2.0|<2026.2.1",
                                    "product_id": "CSAFPID-5900846",
                                    "product_identification_helper": {
                                        "cpe": "cpe:2.3:a:discourse:discourse:*:*:*:*:*:*:*:*"
                                    }
                                }
                            }
                        ],
                        "category": "product_name",
                        "name": "discourse"
                    }
                ],
                "category": "vendor",
                "name": "Discourse"
            }
        ]
    },
    "vulnerabilities": [
        {
            "cve": "CVE-2026-27166",
            "cwe": {
                "id": "CWE-80",
                "name": "Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS)"
            },
            "notes": [
                {
                    "category": "description",
                    "text": "Discourse is an open source discussion platform. Prior to versions 2026.3.0-latest.1, 2026.2.1 and  2026.1.2, insufficient cleanup in the default Codepen allowed iframes value allows an attacker to trick a user into changing the URL of the main page. This issue has been fixed in versions 2026.3.0-latest.1, 2026.2.1 and  2026.1.2. To workaround this issue, remove Codepen from the list of allowed iframes.",
                    "title": "cveprojectv5 - https://raw.githubusercontent.com/CVEProject/cvelistV5/main/cves/2026/27xxx/CVE-2026-27166.json"
                },
                {
                    "category": "description",
                    "text": "Discourse is an open source discussion platform. Prior to versions 2026.3.0-latest.1, 2026.2.1 and  2026.1.2, insufficient cleanup in the default Codepen allowed iframes value allows an attacker to trick a user into changing the URL of the main page. This issue has been fixed in versions 2026.3.0-latest.1, 2026.2.1 and  2026.1.2. To workaround this issue, remove Codepen from the list of allowed iframes.",
                    "title": "nvd - https://services.nvd.nist.gov/rest/json/cves/2.0?cveId=CVE-2026-27166"
                },
                {
                    "category": "description",
                    "text": "Discourse is an open source discussion platform. Prior to versions 2026.3.0, 2026.2.1 and 2026.1.2, insufficient cleanup in the default Codepen allowed iframes value allows an attacker to trick a user into changing the URL of the main page. This issue has been fixed in versions 2026.3.0, 2026.2.1 and 2026.1.2. To workaround this issue, remove Codepen from the list of allowed iframes.",
                    "title": "osv - https://www.googleapis.com/download/storage/v1/b/osv-vulnerabilities/o/Bitnami%2FBIT-discourse-2026-27166.json?alt=media"
                },
                {
                    "category": "other",
                    "text": "0.0003",
                    "title": "EPSS"
                },
                {
                    "category": "other",
                    "text": "5.1",
                    "title": "NCSC Score"
                },
                {
                    "category": "other",
                    "text": "There is product data available from source Nvd, Is related to CWE-80 (Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS))",
                    "title": "NCSC Score top increasing factors"
                },
                {
                    "category": "other",
                    "text": "Is related to (a version of) an uncommon product, The value of the most recent EPSS score",
                    "title": "NCSC Score top decreasing factors"
                }
            ],
            "product_status": {
                "known_affected": [
                    "CSAFPID-5873965",
                    "CSAFPID-5873966",
                    "CSAFPID-5873967",
                    "CSAFPID-5900845",
                    "CSAFPID-5900846",
                    "CSAFPID-5900847",
                    "CSAFPID-5904068",
                    "CSAFPID-5938264",
                    "CSAFPID-5938265",
                    "CSAFPID-5938266"
                ]
            },
            "references": [
                {
                    "category": "external",
                    "summary": "Source - cveprojectv5",
                    "url": "https://raw.githubusercontent.com/CVEProject/cvelistV5/main/cves/2026/27xxx/CVE-2026-27166.json"
                },
                {
                    "category": "external",
                    "summary": "Source - nvd",
                    "url": "https://services.nvd.nist.gov/rest/json/cves/2.0?cveId=CVE-2026-27166"
                },
                {
                    "category": "external",
                    "summary": "Source - first",
                    "url": "https://api.first.org/data/v1/epss?limit=10000&offset=0"
                },
                {
                    "category": "external",
                    "summary": "Source - osv",
                    "url": "https://www.googleapis.com/download/storage/v1/b/osv-vulnerabilities/o/Bitnami%2FBIT-discourse-2026-27166.json?alt=media"
                },
                {
                    "category": "external",
                    "summary": "Reference - cveprojectv5; nvd; osv",
                    "url": "https://github.com/discourse/discourse/security/advisories/GHSA-h653-cq78-vjj2"
                },
                {
                    "category": "external",
                    "summary": "Reference - cveprojectv5; nvd; osv",
                    "url": "https://github.com/discourse/discourse/commit/c4762a4fac2f61f52f325396b11d3aeb955ea925"
                },
                {
                    "category": "external",
                    "summary": "Reference - osv",
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-27166"
                }
            ],
            "scores": [
                {
                    "cvss_v3": {
                        "version": "3.1",
                        "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N",
                        "baseScore": 5.4,
                        "baseSeverity": "MEDIUM"
                    },
                    "products": [
                        "CSAFPID-5873965",
                        "CSAFPID-5873966",
                        "CSAFPID-5873967",
                        "CSAFPID-5900845",
                        "CSAFPID-5900846",
                        "CSAFPID-5900847",
                        "CSAFPID-5904068",
                        "CSAFPID-5938264",
                        "CSAFPID-5938265",
                        "CSAFPID-5938266"
                    ]
                }
            ],
            "title": "CVE-2026-27166"
        }
    ]
}