Skip to content

Commit

Permalink
feat!: update Drag and Drop v2 XBlock to prevent XSS vulnerabilities
Browse files Browse the repository at this point in the history
BREAKING CHANGE: disallowed HTML tags (e.g. <script>) will no longer be
rendered in LMS and Studio.
  • Loading branch information
Agrendalath committed Nov 28, 2022
1 parent bb8b6ea commit 1b00879
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
1 change: 1 addition & 0 deletions requirements/edx/base.in
Original file line number Diff line number Diff line change
Expand Up @@ -165,3 +165,4 @@ XBlock # Courseware component architecture
xblock-utils # Provides utilities used by the Discussion XBlock
xss-utils # https://github.com/edx/edx-platform/pull/20633 Fix XSS via Translations
enmerkar-underscore # Implements a underscore extractor for django-babel.
xblock-drag-and-drop-v2 # Drag and Drop XBlock
4 changes: 2 additions & 2 deletions requirements/edx/base.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1069,8 +1069,8 @@ xblock==1.5.1
# xblock-google-drive
# xblock-poll
# xblock-utils
xblock-drag-and-drop-v2 @ git+https://github.com/edx-solutions/[email protected]
# via -r requirements/edx/github.in
xblock-drag-and-drop-v2==3.0.0
# via -r requirements/edx/base.in
xblock-poll @ git+https://github.com/open-craft/[email protected]
# via -r requirements/edx/github.in
xblock-utils==2.2.0
Expand Down
2 changes: 1 addition & 1 deletion requirements/edx/development.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1560,7 +1560,7 @@ xblock==1.5.1
# xblock-google-drive
# xblock-poll
# xblock-utils
xblock-drag-and-drop-v2 @ git+https://github.com/edx-solutions/[email protected]
xblock-drag-and-drop-v2==3.0.0
# via -r requirements/edx/testing.txt
xblock-poll @ git+https://github.com/open-craft/[email protected]
# via -r requirements/edx/testing.txt
Expand Down
1 change: 0 additions & 1 deletion requirements/edx/github.in
Original file line number Diff line number Diff line change
Expand Up @@ -74,4 +74,3 @@ git+https://github.com/edx/django-require.git@0c54adb167142383b26ea6b3edecc32118
# Third Party XBlocks

git+https://github.com/open-craft/[email protected]#egg=xblock-poll==1.12.0
git+https://github.com/edx-solutions/[email protected]#egg=xblock-drag-and-drop-v2==2.3.5
2 changes: 1 addition & 1 deletion requirements/edx/testing.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1435,7 +1435,7 @@ xblock==1.5.1
# xblock-google-drive
# xblock-poll
# xblock-utils
xblock-drag-and-drop-v2 @ git+https://github.com/edx-solutions/[email protected]
xblock-drag-and-drop-v2==3.0.0
# via -r requirements/edx/base.txt
xblock-poll @ git+https://github.com/open-craft/[email protected]
# via -r requirements/edx/base.txt
Expand Down

0 comments on commit 1b00879

Please sign in to comment.