{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.1",
    "cveMetadata": {
        "cveId": "CVE-2023-29519",
        "assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
        "state": "PUBLISHED",
        "assignerShortName": "GitHub_M",
        "dateReserved": "2023-04-07T18:56:54.628Z",
        "datePublished": "2023-04-18T23:31:09.369Z",
        "dateUpdated": "2024-08-02T14:07:46.447Z"
    },
    "containers": {
        "cna": {
            "title": "Code injection in org.xwiki.platform:xwiki-platform-attachment-ui",
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "cweId": "CWE-74",
                            "lang": "en",
                            "description": "CWE-74: Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')",
                            "type": "CWE"
                        }
                    ]
                }
            ],
            "metrics": [
                {
                    "cvssV3_1": {
                        "attackComplexity": "HIGH",
                        "attackVector": "NETWORK",
                        "availabilityImpact": "HIGH",
                        "baseScore": 9.1,
                        "baseSeverity": "CRITICAL",
                        "confidentialityImpact": "HIGH",
                        "integrityImpact": "HIGH",
                        "privilegesRequired": "NONE",
                        "scope": "CHANGED",
                        "userInteraction": "NONE",
                        "vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H",
                        "version": "3.1"
                    }
                }
            ],
            "references": [
                {
                    "name": "https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-3hjg-cghv-22ww",
                    "tags": [
                        "x_refsource_CONFIRM"
                    ],
                    "url": "https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-3hjg-cghv-22ww"
                },
                {
                    "name": "https://github.com/xwiki/xwiki-platform/commit/5e8725b4272cd3e5be09d3ca84273be2da6869c1",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/xwiki/xwiki-platform/commit/5e8725b4272cd3e5be09d3ca84273be2da6869c1"
                },
                {
                    "name": "https://jira.xwiki.org/browse/XWIKI-20364",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://jira.xwiki.org/browse/XWIKI-20364"
                }
            ],
            "affected": [
                {
                    "vendor": "xwiki",
                    "product": "xwiki-platform",
                    "versions": [
                        {
                            "version": "< 13.10.11",
                            "status": "affected"
                        },
                        {
                            "version": ">= 14.0.0, < 14.4.8",
                            "status": "affected"
                        },
                        {
                            "version": ">= 14.5.0, < 14.10.2",
                            "status": "affected"
                        }
                    ]
                }
            ],
            "providerMetadata": {
                "orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
                "shortName": "GitHub_M",
                "dateUpdated": "2023-04-18T23:31:09.369Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "XWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. A registered user can perform remote code execution leading to privilege escalation by injecting the proper code in the \"property\" field of an attachment selector, as a gadget of their own dashboard.  Note that the vulnerability does not impact comments of a wiki. The vulnerability has been patched in XWiki 13.10.11, 14.4.8, 14.10.2, 15.0-rc-1. Users are advised to upgrade. There are no known workarounds for this vulnerability."
                }
            ],
            "source": {
                "advisory": "GHSA-3hjg-cghv-22ww",
                "discovery": "UNKNOWN"
            }
        },
        "adp": [
            {
                "providerMetadata": {
                    "orgId": "af854a3a-2127-422b-91ae-364da2661108",
                    "shortName": "CVE",
                    "dateUpdated": "2024-08-02T14:07:46.447Z"
                },
                "title": "CVE Program Container",
                "references": [
                    {
                        "name": "https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-3hjg-cghv-22ww",
                        "tags": [
                            "x_refsource_CONFIRM",
                            "x_transferred"
                        ],
                        "url": "https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-3hjg-cghv-22ww"
                    },
                    {
                        "name": "https://github.com/xwiki/xwiki-platform/commit/5e8725b4272cd3e5be09d3ca84273be2da6869c1",
                        "tags": [
                            "x_refsource_MISC",
                            "x_transferred"
                        ],
                        "url": "https://github.com/xwiki/xwiki-platform/commit/5e8725b4272cd3e5be09d3ca84273be2da6869c1"
                    },
                    {
                        "name": "https://jira.xwiki.org/browse/XWIKI-20364",
                        "tags": [
                            "x_refsource_MISC",
                            "x_transferred"
                        ],
                        "url": "https://jira.xwiki.org/browse/XWIKI-20364"
                    }
                ]
            }
        ]
    }
}