diff --git a/.github/workflows/release-preview-publish.yml b/.github/workflows/release-preview-publish.yml index 25046aa9e..8136ff8bd 100644 --- a/.github/workflows/release-preview-publish.yml +++ b/.github/workflows/release-preview-publish.yml @@ -25,7 +25,7 @@ jobs: - name: Publish run: | - PREVIEW_VERSION=1 + PREVIEW_VERSION=8 VERSION=$(echo ${{github.ref}} | tail -c +20)-preview.$PREVIEW_VERSION echo $VERSION npm version --no-git-tag-version --allow-same-version $VERSION diff --git a/cypress/platform/knsv.html b/cypress/platform/knsv.html index 50b3c0607..474132392 100644 --- a/cypress/platform/knsv.html +++ b/cypress/platform/knsv.html @@ -57,14 +57,12 @@ subgraph CompositeState end
-%%{init: { '__proto__': {'vuln': 'test'}} }%% -%%{init: { '__proto__': {'vuln': 'test'}} }%% - +%%{init: { "apa":"b", "theme":"forest"}}%% sequenceDiagram Alice->>Bob: Hi Bob Bob->>Alice: Hi Alice
-
+
%%{init: { 'theme':'base', '__proto__': {'polluted': 'asdf'}} }%% %%{init: { 'theme':'base', '__proto__': {'polluted': 'asdf'}} }%% graph LR diff --git a/cypress/platform/xss2.html b/cypress/platform/xss2.html index 0774023ff..31c5302d3 100644 --- a/cypress/platform/xss2.html +++ b/cypress/platform/xss2.html @@ -44,6 +44,13 @@ graph LR A --> B
+
+ %%{init: { 'prototype': {'__proto__': {'polluted': 'test'}}} }%% + %%{init: { 'prototype': {'__proto__': {'polluted': 'test'}}} }%% + sequenceDiagram + Alice->>Bob: Hi Bob + Bob->>Alice: Hi Alice +
');\n if (idx >= 0) {\n idx += 9;\n txt = txt.substr(idx);\n }\n } else {\n rs += txt;\n idx = -1;\n break;\n }\n }\n\n rs = rs.replace(/javascript:/g, '#');\n rs = rs.replace(/onerror=/g, 'onerror:');\n rs = rs.replace(/