Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix XSS: Escape temp vars #5688

Merged
merged 2 commits into from
Jan 2, 2020
Merged

Conversation

mul53
Copy link
Contributor

@mul53 mul53 commented Dec 26, 2019

Description

Escape template variables evaluated* by jsrender, template variables evaluated by django are automatically escaped.

Refers/Fixes

Fixes #5656

*use > link in favour of : link

@codecov
Copy link

codecov bot commented Dec 26, 2019

Codecov Report

Merging #5688 into master will increase coverage by 0.02%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #5688      +/-   ##
==========================================
+ Coverage   30.09%   30.11%   +0.02%     
==========================================
  Files         249      249              
  Lines       21448    21448              
  Branches     3110     3110              
==========================================
+ Hits         6454     6460       +6     
+ Misses      14718    14712       -6     
  Partials      276      276
Impacted Files Coverage Δ
app/dashboard/embed.py 31.6% <0%> (+3.44%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update ff1a890...3571bec. Read the comment docs.

@thelostone-mc thelostone-mc merged commit 4a93848 into gitcoinco:master Jan 2, 2020
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.

XSS from GitHub <script>alert(1)</script>
3 participants