Nextcloud Server vulnerable to Self XSS when pasting HTML into Text app with Ctrl+Shift+V
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2023-48302
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 7 Nov 2026, 21:15 UTC · Revision 1
Source evidence
Nextcloud Server vulnerable to Self XSS when pasting HTML into Text app with Ctrl+Shift+V
core-osv · Original sourcePublished 21 Nov 2023, 21:53 UTC
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.
osv:CVE-2023-48302
Complete source record
{
"id": "615e10bc032968b030a939e900d21fe94b8d6e0619069742ef67fb5477a70044",
"url": "https://osv.dev/vulnerability/CVE-2023-48302",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "Nextcloud Server vulnerable to Self XSS when pasting HTML into Text app with Ctrl+Shift+V",
"summary": "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.",
"evidence": "osv:CVE-2023-48302",
"products": [],
"severity": "low",
"structured": {
"id": "CVE-2023-48302",
"aliases": [
"CVE-2023-48302",
"GHSA-p7g9-x25m-4h87"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:L"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/nextcloud/server",
"type": "GIT",
"events": [
{
"introduced": "20ea9a25353129b56d46951fe7d23939665ab2b2"
},
{
"fixed": "30fb8a53b04c623db368d29a83e8e1153a2d6b07"
},
{
"introduced": "62cfd3b4c9ff4d8cdbbe6dcc8b63a1085bb94e3d"
},
{
"fixed": "1526013f426db26481adb4ea8170e8f95d56c5f8"
},
{
"introduced": "add4e4365a4040d2e4e6aa79c0d03c3edd78583c"
},
{
"fixed": "565dc36226d08d071c30d8ad4fd54126dfa4be79"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:nextcloud:nextcloud_server:*:*:*:*:-:*:*:*",
"range": [
{
"introduced": "25.0.0"
},
{
"fixed": "25.0.13"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:nextcloud:nextcloud_server:*:*:*:*:enterprise:*:*:*",
"range": [
{
"introduced": "25.0.0"
},
{
"fixed": "25.0.13"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:nextcloud:nextcloud_server:*:*:*:*:-:*:*:*",
"range": [
{
"introduced": "26.0.0"
},
{
"fixed": "26.0.8"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:nextcloud:nextcloud_server:*:*:*:*:enterprise:*:*:*",
"range": [
{
"introduced": "26.0.0"
},
{
"fixed": "26.0.8"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:nextcloud:nextcloud_server:*:*:*:*:-:*:*:*",
"range": [
{
"introduced": "27.0.0"
},
{
"fixed": "27.1.3"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:nextcloud:nextcloud_server:*:*:*:*:enterprise:*:*:*",
"range": [
{
"introduced": "27.0.0"
},
{
"fixed": "27.1.3"
}
],
"source": "CPE_RANGE"
}
]
}
},
{
"repo": "https://github.com/nextcloud/text",
"type": "GIT",
"events": [
{
"introduced": "b610140d60b978131bb4c4bf24c383946b9f8bae"
},
{
"fixed": "b3baaa5d90611da6f9d26cea2cae17c39df6d7ae"
},
{
"introduced": "18cce808c81d44dbfec09832c994ebcf28d37757"
},
{
"fixed": "a94e874fb9d942b3ac0f48b4c08ed651bb96ed97"
},
{
"introduced": "3fce0e2feb1e6528a77a441610063051b77cfdde"
},
{
"fixed": "af2a09ec84208b2524d721fdc660ffcd7d98defe"
}
],
"database_specific": {
"extracted_events": [
{
"range": [
{
"introduced": "25.0.0"
},
{
"fixed": "25.0.13"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StringRangeExpression"
},
{
"range": [
{
"introduced": "26.0.0"
},
{
"fixed": "26.0.8"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StringRangeExpression"
},
{
"range": [
{
"introduced": "27.0.0"
},
{
"fixed": "27.1.3"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StringRangeExpression"
}
]
}
}
],
"versions": [
"v25.0.13rc2",
"v26.0.8rc2",
"v27.1.3rc2",
"v25.0.13rc1",
"v26.0.8rc1",
"v27.1.3rc1",
"v27.1.2",
"v27.1.2rc1",
"v27.1.1",
"v25.0.12",
"v26.0.7",
"v27.1.0",
"v25.0.11",
"v26.0.6",
"v27.1.0rc4",
"v27.1.0rc3",
"v25.0.11rc1",
"v26.0.6rc1",
"v27.1.0rc2",
"v27.1.0rc1",
"v27.1.0beta3",
"v27.1.0beta2",
"v25.0.10",
"v26.0.5",
"v27.0.2",
"v25.0.10rc1",
"v26.0.5rc1",
"v27.0.2rc1",
"v25.0.9",
"v26.0.4",
"v27.0.1",
"v25.0.9rc2",
"v26.0.4rc2",
"v27.0.1rc2",
"v26.0.4rc1",
"v27.0.1rc1",
"v25.0.9rc1",
"v25.0.8",
"v26.0.3",
"v25.0.8rc2",
"v26.0.3rc2",
"v25.0.8rc1",
"v26.0.3rc1",
"v27.0.0",
"v25.0.7",
"v26.0.2",
"v25.0.7rc1",
"v26.0.2rc1",
"v25.0.6",
"v26.0.1",
"v25.0.6rc1",
"v26.0.1rc1",
"v25.0.5",
"v26.0.0",
"v25.0.5rc1",
"v25.0.4",
"v25.0.4rc1",
"v25.0.3",
"v25.0.3rc2",
"v25.0.3rc1",
"v25.0.2",
"v25.0.2rc3",
"v25.0.2rc2",
"v25.0.2rc1",
"v25.0.1",
"v25.0.1rc1",
"v25.0.0",
"v25.0.0rc5",
"v25.0.0rc4"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-48302.json"
}
}
],
"modified": "2026-10-28T02:30:51.571894238Z",
"provider": "osv",
"references": [
"https://hackerone.com/reports/2211561",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/48xxx/CVE-2023-48302.json",
"https://github.com/nextcloud/security-advisories/security/advisories/GHSA-p7g9-x25m-4h87",
"https://nvd.nist.gov/vuln/detail/CVE-2023-48302",
"https://github.com/nextcloud/text/pull/4877"
],
"provider_metadata": {
"cwe_ids": [
"CWE-79"
],
"cna_assigner": "GitHub_M",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/48xxx/CVE-2023-48302.json"
}
},
"related_cves": [
{
"value": "CVE-2023-48302",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 520425,
"published_at": "2023-11-21T21:53:00.327+00:00"
}