Skip to content

Fix potential XSS vulnerability#307

Merged
bryanforbes merged 1 commit intodojo:masterfrom
bryanforbes:fix-code-execution
Aug 10, 2018
Merged

Fix potential XSS vulnerability#307
bryanforbes merged 1 commit intodojo:masterfrom
bryanforbes:fix-code-execution

Conversation

@bryanforbes
Copy link
Copy Markdown
Member

  • Escape text coming from URL that is used in the page
  • Prevent remote scripts being executed
  • Remove remote URLs from unit test file

Since this is in a DOH test that isn't used anymore nor run automatically, the threat is minimal.

@bryanforbes bryanforbes requested a review from dylans July 31, 2018 19:45
@dylans dylans added this to the 1.14.0 milestone Aug 6, 2018
* Escape text coming from URL that is used in the page
* Comment out the contents of unit.html
* Prevent remote scripts being executed
* Remove remote URLs from unit test file
@bryanforbes bryanforbes merged commit 9117ffd into dojo:master Aug 10, 2018
bryanforbes added a commit that referenced this pull request Aug 10, 2018
* Escape text coming from URL that is used in the page
* Comment out the contents of unit.html
* Prevent remote scripts being executed
* Remove remote URLs from unit test file

(cherry picked from commit 9117ffd)
bryanforbes added a commit that referenced this pull request Aug 10, 2018
* Escape text coming from URL that is used in the page
* Comment out the contents of unit.html
* Prevent remote scripts being executed
* Remove remote URLs from unit test file

(cherry picked from commit 9117ffd)
bryanforbes added a commit that referenced this pull request Aug 10, 2018
* Escape text coming from URL that is used in the page
* Comment out the contents of unit.html
* Prevent remote scripts being executed
* Remove remote URLs from unit test file

(cherry picked from commit 9117ffd)
bryanforbes added a commit that referenced this pull request Aug 10, 2018
* Escape text coming from URL that is used in the page
* Comment out the contents of unit.html
* Prevent remote scripts being executed
* Remove remote URLs from unit test file

(cherry picked from commit 9117ffd)
bryanforbes added a commit that referenced this pull request Aug 10, 2018
* Escape text coming from URL that is used in the page
* Comment out the contents of unit.html
* Prevent remote scripts being executed
* Remove remote URLs from unit test file

(cherry picked from commit 9117ffd)
bryanforbes added a commit that referenced this pull request Aug 10, 2018
* Escape text coming from URL that is used in the page
* Comment out the contents of unit.html
* Prevent remote scripts being executed
* Remove remote URLs from unit test file

(cherry picked from commit 9117ffd)
@bryanforbes
Copy link
Copy Markdown
Member Author

Backported as 33eb767 (1.13), 2e27f9a (1.12), c15b3e7 (1.11), 48cb00f (1.10), 9e4b725 (1.9), and 595ea4e (1.8)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants