diff --git a/CHANGES.md b/CHANGES.md
index 5db00140f..409d654ed 100644
--- a/CHANGES.md
+++ b/CHANGES.md
@@ -9,6 +9,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
Last release of this project is was 30th of September 2021.
+### [Unreleased]
+
+ - fix: DomPurify replacing undesired characters. KB-39549
+
### 8.6.0 2023-10-10
- Feat: Add branch name and commit hash to demo page
diff --git a/packages/ckeditor5/src/plugin.js b/packages/ckeditor5/src/plugin.js
index b5fdbd363..29bd3c2a9 100644
--- a/packages/ckeditor5/src/plugin.js
+++ b/packages/ckeditor5/src/plugin.js
@@ -257,6 +257,14 @@ export default class MathType extends Plugin {
// And obtain the complete formula
formula = Util.htmlSanitize(``);
+ // Replaces the < & > characters to its HTMLEntity to avoid render issues.
+ formula = formula.split('"<"').join('"<"')
+ .split('">"')
+ .join('">"')
+ .split('><<')
+ .join('><<');
+
+
/* Model node that contains what's going to actually be inserted. This can be either:
- A element with a formula attribute set to the given formula, or
- If the original