CKEditor: Cross-site scripting (XSS) in the engine package
### Impact A Cross-Site Scripting (XSS) vulnerability has been discovered in the CKEditor 5 engine. This vulnerability could be triggered by inserting specially crafted markup under a specific General HTML Support configuration that allows inserting objects, leading to unauthorized JavaScript code execution in a browser context isolated from the origin of the application embedding the editor. This vulnerability affects only installations where General HTML Support is enabled and configured to allow the affected HTML content. ### Patches The problem has been recognized and patched. The fix will be available in version `48.5.1` (and above) and `47.7.4` (LTS). ### For more information Email us at [security@cksource.com](mailto:security@cksource.com) if you have any questions or comments about this advisory.
- Products
- @ckeditor/ckeditor5-engine, ckeditor5
- Affected versions
- Not specified
- Fixed versions
- 47.7.4, 48.5.1
- CVEs
- CVE-2026-116687
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 2 Nov 2026, 14:56 UTC · Revision 1
Source evidence
CKEditor: Cross-site scripting (XSS) in the engine package
core-osv · Original sourcePublished 27 Oct 2026, 21:05 UTC
### Impact A Cross-Site Scripting (XSS) vulnerability has been discovered in the CKEditor 5 engine. This vulnerability could be triggered by inserting specially crafted markup under a specific General HTML Support configuration that allows inserting objects, leading to unauthorized JavaScript code execution in a browser context isolated from the origin of the application embedding the editor. This vulnerability affects only installations where General HTML Support is enabled and configured to allow the affected HTML content. ### Patches The problem has been recognized and patched. The fix will be available in version `48.5.1` (and above) and `47.7.4` (LTS). ### For more information Email us at [security@cksource.com](mailto:security@cksource.com) if you have any questions or comments about this advisory.
osv:GHSA-v6mg-96c6-gmpq
ckeditor5
Fixed versions: 47.7.4
@ckeditor/ckeditor5-engine
Fixed versions: 47.7.4
ckeditor5
Fixed versions: 48.5.1
@ckeditor/ckeditor5-engine
Fixed versions: 48.5.1
Complete source record
{
"id": "975d644700554905b808c2bee3244f5236fa9f59f0d49e8b6a0815b603cc31ec",
"url": "https://osv.dev/vulnerability/GHSA-v6mg-96c6-gmpq",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CKEditor: Cross-site scripting (XSS) in the engine package",
"summary": "### Impact A Cross-Site Scripting (XSS) vulnerability has been discovered in the CKEditor 5 engine. This vulnerability could be triggered by inserting specially crafted markup under a specific General HTML Support configuration that allows inserting objects, leading to unauthorized JavaScript code execution in a browser context isolated from the origin of the application embedding the editor. This vulnerability affects only installations where General HTML Support is enabled and configured to allow the affected HTML content. ### Patches The problem has been recognized and patched. The fix will be available in version `48.5.1` (and above) and `47.7.4` (LTS). ### For more information Email us at [security@cksource.com](mailto:security@cksource.com) if you have any questions or comments about this advisory.",
"evidence": "osv:GHSA-v6mg-96c6-gmpq",
"products": [
{
"name": {
"value": "ckeditor5",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "47.7.4",
"evidence": "/affected/0/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "@ckeditor/ckeditor5-engine",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "47.7.4",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "ckeditor5",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "48.5.1",
"evidence": "/affected/2/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "@ckeditor/ckeditor5-engine",
"evidence": "/affected/3/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "48.5.1",
"evidence": "/affected/3/ranges"
}
],
"affected_versions": []
}
],
"severity": "low",
"structured": {
"id": "GHSA-v6mg-96c6-gmpq",
"aliases": [
"CVE-2026-116687",
"GHSA-v6mg-96c6-gmpq"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N"
}
],
"affected": [
{
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "29.0.0"
},
{
"fixed": "47.7.4"
}
]
}
],
"package": {
"name": "ckeditor5",
"purl": "pkg:npm/ckeditor5",
"ecosystem": "npm"
},
"database_specific": {
"source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/10/GHSA-v6mg-96c6-gmpq/GHSA-v6mg-96c6-gmpq.json"
}
},
{
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "29.0.0"
},
{
"fixed": "47.7.4"
}
]
}
],
"package": {
"name": "@ckeditor/ckeditor5-engine",
"purl": "pkg:npm/%40ckeditor/ckeditor5-engine",
"ecosystem": "npm"
},
"database_specific": {
"source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/10/GHSA-v6mg-96c6-gmpq/GHSA-v6mg-96c6-gmpq.json"
}
},
{
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "48.0.0"
},
{
"fixed": "48.5.1"
}
]
}
],
"package": {
"name": "ckeditor5",
"purl": "pkg:npm/ckeditor5",
"ecosystem": "npm"
},
"database_specific": {
"source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/10/GHSA-v6mg-96c6-gmpq/GHSA-v6mg-96c6-gmpq.json"
}
},
{
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "48.0.0"
},
{
"fixed": "48.5.1"
}
]
}
],
"package": {
"name": "@ckeditor/ckeditor5-engine",
"purl": "pkg:npm/%40ckeditor/ckeditor5-engine",
"ecosystem": "npm"
},
"database_specific": {
"source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/10/GHSA-v6mg-96c6-gmpq/GHSA-v6mg-96c6-gmpq.json"
}
}
],
"modified": "2026-10-27T21:15:03.823149549Z",
"provider": "osv",
"references": [
"https://github.com/ckeditor/ckeditor5/security/advisories/GHSA-v6mg-96c6-gmpq",
"https://github.com/ckeditor/ckeditor5/commit/4d9c5bb34f63cd956d15ccafbe584e14280c86a0",
"https://github.com/ckeditor/ckeditor5/commit/a750e38635db6a18c5b11599c09f4fd702850423",
"https://github.com/ckeditor/ckeditor5",
"https://github.com/ckeditor/ckeditor5/releases/tag/v47.7.4",
"https://github.com/ckeditor/ckeditor5/releases/tag/v48.5.1"
],
"provider_metadata": {
"cwe_ids": [
"CWE-79"
],
"severity": "LOW",
"github_reviewed": true,
"nvd_published_at": null,
"github_reviewed_at": "2026-10-27T21:05:13Z"
}
},
"related_cves": [
{
"value": "CVE-2026-116687",
"evidence": "/aliases"
}
],
"security_relevant": true,
"severity_evidence": "/database_specific/severity"
},
"source_id": "core-osv",
"document_id": 486106,
"published_at": "2026-10-27T21:05:13+00:00"
}