Skip to content

"on" replaced by "data-cke-671a164ccbf7b-on" in CKEditor #5887

@ywarnier

Description

@ywarnier

1.11.28 (just released) came with many security fixes, one of them being to filter "on(event)" words in any HTML edited through CKEditor.
However, this filter was too wide and actually replaced all "on" words preceded by a space by something like "data-cke-671a164ccbf7b-on", which is a big issue.

This stems from this commit: df47eac which added the "attr_on_filter()" method, which is not strict enough.

We are working on a fix.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions