{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.1",
    "cveMetadata": {
        "cveId": "CVE-2023-48302",
        "assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
        "state": "PUBLISHED",
        "assignerShortName": "GitHub_M",
        "dateReserved": "2023-11-14T17:41:15.571Z",
        "datePublished": "2023-11-21T21:53:00.327Z",
        "dateUpdated": "2024-08-02T21:23:39.478Z"
    },
    "containers": {
        "cna": {
            "title": "Nextcloud Server vulnerable to Self XSS when pasting HTML into Text app with Ctrl+Shift+V",
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "cweId": "CWE-79",
                            "lang": "en",
                            "description": "CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')",
                            "type": "CWE"
                        }
                    ]
                }
            ],
            "metrics": [
                {
                    "cvssV3_1": {
                        "attackComplexity": "LOW",
                        "attackVector": "NETWORK",
                        "availabilityImpact": "LOW",
                        "baseScore": 3.5,
                        "baseSeverity": "LOW",
                        "confidentialityImpact": "NONE",
                        "integrityImpact": "NONE",
                        "privilegesRequired": "LOW",
                        "scope": "UNCHANGED",
                        "userInteraction": "REQUIRED",
                        "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:L",
                        "version": "3.1"
                    }
                }
            ],
            "references": [
                {
                    "name": "https://github.com/nextcloud/security-advisories/security/advisories/GHSA-p7g9-x25m-4h87",
                    "tags": [
                        "x_refsource_CONFIRM"
                    ],
                    "url": "https://github.com/nextcloud/security-advisories/security/advisories/GHSA-p7g9-x25m-4h87"
                },
                {
                    "name": "https://github.com/nextcloud/text/pull/4877",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/nextcloud/text/pull/4877"
                },
                {
                    "name": "https://hackerone.com/reports/2211561",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://hackerone.com/reports/2211561"
                }
            ],
            "affected": [
                {
                    "vendor": "nextcloud",
                    "product": "security-advisories",
                    "versions": [
                        {
                            "version": ">= 25.0.0, < 25.0.13",
                            "status": "affected"
                        },
                        {
                            "version": ">= 26.0.0, < 26.0.8",
                            "status": "affected"
                        },
                        {
                            "version": ">= 27.0.0, < 27.1.3",
                            "status": "affected"
                        }
                    ]
                }
            ],
            "providerMetadata": {
                "orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
                "shortName": "GitHub_M",
                "dateUpdated": "2023-11-21T21:53:00.327Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "Nextcloud Server provides data storage for Nextcloud, an open source cloud platform. Starting in version 25.0.0 and prior to versions 25.0.13, 26.0.8, and 27.1.3 of Nextcloud Server and Nextcloud Enterprise Server, when a user is tricked into copy pasting HTML code without markup (Ctrl+Shift+V) the markup will actually render. Nextcloud Server and Nextcloud Enterprise Server versions 25.0.13, 26.0.8, and 27.1.3 contain a fix for this issue. As a workaround, disable app text."
                }
            ],
            "source": {
                "advisory": "GHSA-p7g9-x25m-4h87",
                "discovery": "UNKNOWN"
            }
        },
        "adp": [
            {
                "providerMetadata": {
                    "orgId": "af854a3a-2127-422b-91ae-364da2661108",
                    "shortName": "CVE",
                    "dateUpdated": "2024-08-02T21:23:39.478Z"
                },
                "title": "CVE Program Container",
                "references": [
                    {
                        "name": "https://github.com/nextcloud/security-advisories/security/advisories/GHSA-p7g9-x25m-4h87",
                        "tags": [
                            "x_refsource_CONFIRM",
                            "x_transferred"
                        ],
                        "url": "https://github.com/nextcloud/security-advisories/security/advisories/GHSA-p7g9-x25m-4h87"
                    },
                    {
                        "name": "https://github.com/nextcloud/text/pull/4877",
                        "tags": [
                            "x_refsource_MISC",
                            "x_transferred"
                        ],
                        "url": "https://github.com/nextcloud/text/pull/4877"
                    },
                    {
                        "name": "https://hackerone.com/reports/2211561",
                        "tags": [
                            "x_refsource_MISC",
                            "x_transferred"
                        ],
                        "url": "https://hackerone.com/reports/2211561"
                    }
                ]
            }
        ]
    }
}