# GHSA-VJH8-QW64-Q282: Cross-site scripting (XSS) in the CKEditor AI chat output

- Database: GitHub
- Severity: CVSS 6.4 (Medium)
- Published: 2026-10-27
- Modified: 2026-10-30

## Affected versions

- ckeditor5-premium-features (npm): from 47.0.0, through 48.5.2
- @ckeditor/ckeditor5-ai (npm): from 47.0.0, through 48.5.2

## Description

### Impact
A Cross-Site Scripting (XSS) vulnerability has been discovered in the CKEditor AI plugin. Inserting a specially crafted message into the CKEditor AI chat may lead to the execution of unauthorized JavaScript code.

The vulnerability affects only installations where [CKEditor AI](https://ckeditor.com/docs/ckeditor5/latest/features/ai/ckeditor-ai-overview.html) is enabled. Exploitation requires tricking the model into returning specific output, for example through prompt injection.

### Patches
The problem has been recognized and patched. The fix is available in version 48.5.3 (and above) and 47.7.6 (LTS).

### For more information
Email us at [security@cksource.com](mailto:security@cksource.com) if you have any questions or comments about this advisory.

### Credits
We would like to thank Wong Yong Jeon for reporting this vulnerability.

## References

- https://github.com/ckeditor/ckeditor5/security/advisories/GHSA-vjh8-qw64-q282

Page: https://cve.now/GHSA-VJH8-QW64-Q282

Wrong or missing data? Send feedback: POST https://cve.now/api/v1/feedback (see https://cve.now/agents#feedback).
