Repository navigation
Fix LMS-530: Reflected XSS in chapter and page numbers - #323
Merged
Merged
Conversation
Limit the page and chapter numbers to digits, to keep malicious URL components from being inserted onto the page.
|
Though it no longer represents a vulnerability, the part of the template that renders the page parameter should be escaped to avoid future problems. Also, there are eight changes to urls.py but only three new test cases, which suggests insufficient coverage. |
Contributor
Author
|
@gwprice OK, I lied: I wrote more tests. |
Contributor
|
👍 |
nedbat
added a commit
that referenced
this pull request
Jul 3, 2013
Fix LMS-530: Reflected XSS in chapter and page numbers
chrisrossi
pushed a commit
to jazkarta/edx-platform
that referenced
this pull request
Mar 31, 2014
Kimth/lms coderesponse
antoviaque
referenced
this pull request
in open-craft/openedx-platform
Dec 9, 2014
Production deployment fixes
kawaguchi-ks
added a commit
to nttks/edx-platform
that referenced
this pull request
Oct 6, 2015
Merge tag 'release-2015-09-09'
diegomillan
referenced
this pull request
in eduNEXT/edx-platform
Sep 14, 2016
…text Use string representation for dates
Danyal-Faheem
pushed a commit
to Danyal-Faheem/edx-platform
that referenced
this pull request
Jul 15, 2025
removed edxapp.sql file
12 of 15 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The urls.py change is already pushed to production, but that doesn't mean we can't talk about better ways to do it.
@gwprice @jzoldak Thoughts?