diff --git a/cypress/platform/xss7.html b/cypress/platform/xss7.html
new file mode 100644
index 000000000..d81ea530d
--- /dev/null
+++ b/cypress/platform/xss7.html
@@ -0,0 +1,99 @@
+
+
+
+
+
+
+
+
+
+ Security check
+
+
+
+
+
+
+
+
diff --git a/src/diagrams/common/common.js b/src/diagrams/common/common.js
index c0b53378b..b95ea7784 100644
--- a/src/diagrams/common/common.js
+++ b/src/diagrams/common/common.js
@@ -29,10 +29,11 @@ export const removeScript = (txt) => {
}
}
- rs = rs.replace(/javascript:/g, '#');
- rs = rs.replace(/onerror=/g, 'onerror:');
- rs = rs.replace(/