ckeditor, ckeditor3 — security advisory
CKEditor4 is an open source what-you-see-is-what-you-get HTML editor. A cross-site scripting vulnerability has been discovered affecting Iframe Dialog and Media Embed packages. The vulnerability may trigger a JavaScript code after fulfilling special conditions: using one of the affected packages on a web page with missing proper Content Security Policy configuration; initializing the editor on an element and using an element other than `` as a base; and destroying the editor instance. This vulnerability might affect a small percentage of integrators that depend on dynamic editor initialization/destroy mechanism. A fix is available in CKEditor4 version 4.21.0. In some rare cases, a security fix may be considered a breaking change. Starting from version 4.21.0, the Iframe Dialog plugin applies the `sandbox` attribute by default, which restricts JavaScript code execution in the iframe element. To change this behavior, configure the `config.iframe_attributes` option. Also starting from version 4.21.0, the Media Embed plugin regenerates the entire content of the embed widget by default. To change this behavior, configure the `config.embed_keepOriginalContent` option. Those who choose to enable either of the more permissive options or who cannot upgrade to a patched version should properly configure Content Security Policy to avoid any potential security issues that may arise from embedding iframe elements on their web page.
- Products
- ckeditor, ckeditor3
- Affected versions
- 3.6.6.1+dfsg-7, 4.19.1+dfsg-1, 4.22.1+dfsg-1, 4.22.1+dfsg1-2
- Fixed versions
- Not specified
- CVEs
- CVE-2023-28439
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 15:30 UTC · Revision 1
Source evidence
CKEditor4 is an open source what-you-see-is-what-you-get HTML editor. A cross-site scripting vulnerability has been discovered affecting Iframe Dialog and Media Embed packages. The vulnerability may trigger a JavaScript code after fulfilling special conditions: using one of the affected packages on a web page with missing proper Content Security Policy configuration; initializing the editor on an element and using an element other than `` as a base; and destroying the editor instance. This vulnerability might affect a small percentage of integrators that depend on dynamic editor initialization/destroy mechanism. A fix is available in CKEditor4 version 4.21.0. In some rare cases, a security fix may be considered a breaking change. Starting from version 4.21.0, the Iframe Dialog plugin applies the `sandbox` attribute by default, which restricts JavaScript code execution in the iframe element. To change this behavior, configure the `config.iframe_attributes` option. Also starting from version 4.21.0, the Media Embed plugin regenerates the entire content of the embed widget by default. To change this behavior, configure the `config.embed_keepOriginalContent` option. Those who choose to enable either of the more permissive options or who cannot upgrade to a patched version should properly configure Content Security Policy to avoid any potential security issues that may arise from embedding iframe elements on their web page.
osv:DEBIAN-CVE-2023-28439
ckeditor
Fixed versions: Not specified
ckeditor3
Fixed versions: Not specified
Complete source record
{
"id": "3d77a7f314382f5768547664f38bca16329f4d94564fb7eaa278d7773ef56dad",
"url": "https://osv.dev/vulnerability/DEBIAN-CVE-2023-28439",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "DEBIAN-CVE-2023-28439",
"summary": "CKEditor4 is an open source what-you-see-is-what-you-get HTML editor. A cross-site scripting vulnerability has been discovered affecting Iframe Dialog and Media Embed packages. The vulnerability may trigger a JavaScript code after fulfilling special conditions: using one of the affected packages on a web page with missing proper Content Security Policy configuration; initializing the editor on an element and using an element other than `` as a base; and destroying the editor instance. This vulnerability might affect a small percentage of integrators that depend on dynamic editor initialization/destroy mechanism. A fix is available in CKEditor4 version 4.21.0. In some rare cases, a security fix may be considered a breaking change. Starting from version 4.21.0, the Iframe Dialog plugin applies the `sandbox` attribute by default, which restricts JavaScript code execution in the iframe element. To change this behavior, configure the `config.iframe_attributes` option. Also starting from version 4.21.0, the Media Embed plugin regenerates the entire content of the embed widget by default. To change this behavior, configure the `config.embed_keepOriginalContent` option. Those who choose to enable either of the more permissive options or who cannot upgrade to a patched version should properly configure Content Security Policy to avoid any potential security issues that may arise from embedding iframe elements on their web page.",
"evidence": "osv:DEBIAN-CVE-2023-28439",
"products": [
{
"name": {
"value": "ckeditor",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "4.19.1+dfsg-1",
"evidence": "/affected/0/versions"
},
{
"value": "4.22.1+dfsg-1",
"evidence": "/affected/0/versions"
},
{
"value": "4.22.1+dfsg1-2",
"evidence": "/affected/0/versions"
}
]
},
{
"name": {
"value": "ckeditor3",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "3.6.6.1+dfsg-7",
"evidence": "/affected/1/versions"
}
]
}
],
"severity": "medium",
"structured": {
"id": "DEBIAN-CVE-2023-28439",
"aliases": [
"DEBIAN-CVE-2023-28439"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "ckeditor",
"purl": "pkg:deb/debian/ckeditor?arch=source&distro=bookworm",
"ecosystem": "Debian:12"
},
"versions": [
"4.19.1+dfsg-1",
"4.22.1+dfsg-1",
"4.22.1+dfsg1-2"
],
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2023-28439.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "ckeditor3",
"purl": "pkg:deb/debian/ckeditor3?arch=source&distro=bookworm",
"ecosystem": "Debian:12"
},
"versions": [
"3.6.6.1+dfsg-7"
],
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2023-28439.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
}
],
"modified": "2026-10-26T18:00:47.979531160Z",
"provider": "osv",
"upstream": [
"CVE-2023-28439"
],
"references": [
"https://security-tracker.debian.org/tracker/CVE-2023-28439"
]
},
"related_cves": [
{
"value": "CVE-2023-28439",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 455184,
"published_at": "2023-03-22T21:15:18.607+00:00"
}