-
Notifications
You must be signed in to change notification settings - Fork 901
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
Update base.html #555
base: master
Are you sure you want to change the base?
Update base.html #555
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,7 @@ | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | ||
<title>Account Activation Status</title> | ||
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-gH2yIJqKdNHPEq0n4Mqa/HGKIhSkIHeL5AyhkYV8i59U5AR6csBvApHHNl/vI1Bx" crossorigin="anonymous"> | ||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/font/bootstrap-icons.css"> | ||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/font/bootstrap-icons.css" integrity="sha512-CaTMQoJ49k4vw9XO0VpTBpmMz8XpCWP5JhGmBvuBqCOaOHWENWO1CrVl09u4yp8yBVSID6smD4+gpzDJVQOPwQ==" crossorigin="anonymous"> | ||
<style> | ||
.main_div{ | ||
height: 550px; | ||
|
@@ -59,4 +59,4 @@ | |
</center> | ||
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js" integrity="sha384-A3rJD856KowSb7dwlZdYEkO39Gagi7vIsF0jrRAoQmDKKtQBHUuLZ9AsSv4jD4Xa" crossorigin="anonymous"></script> | ||
</body> | ||
</html> | ||
</html> |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,13 +11,13 @@ | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | ||
<title>{{ settings.APPLICATION_NAME }}</title> | ||
<link href="https://fonts.googleapis.com/css?family=Muli" rel="stylesheet"> | ||
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.2.1/css/bootstrap.min.css"> | ||
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.2.1/css/bootstrap.min.css" integrity="sha512-c8AIFmn4e0WZnaTOCXTOLzR+uIrTELY9AeIuUq6ODGaO619BjqG2rhiv/y6dIdmM7ba+CpzMRkkztMPXfVBm9g==" crossorigin="anonymous"> | ||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-datetimepicker/4.17.47/css/bootstrap-datetimepicker.min.css" /> | ||
|
||
<link href="https://cdn.quilljs.com/1.3.6/quill.snow.css" rel="stylesheet"> | ||
<link href="https://cdn.quilljs.com/1.3.6/quill.bubble.css" rel="stylesheet"> | ||
<link href="https://cdn.quilljs.com/1.3.6/quill.core.css" rel="stylesheet"> | ||
|
||
<link rel="stylesheet" href="https://cdn.quilljs.com/1.3.6/quill.snow.css" integrity="sha512-PVNMdkw+2UbxMaF03ZTxkRCySBl5QvZgSQPO0vuIpYIzb5h+Q18y8A/W/N4Vpo8EerHoi2DTZta/UxrdKPG0dA==" crossorigin="anonymous"> | ||
<link rel="stylesheet" href="https://cdn.quilljs.com/1.3.6/quill.bubble.css" integrity="sha512-TBuyUnhUYR9UZcz/PyP0xDJscrfgbNJa0HVWbJQULvLLpi0G2LOwZdOjk0GHrYji684ZBfczidVlVzd9a39+8Q==" crossorigin="anonymous"> | ||
<link rel="stylesheet" href="https://cdn.quilljs.com/1.3.6/quill.core.css" integrity="sha512-6BjEBJe1eABi9TLuhqxrROBDgcqw5S4sd/moV/8Qi1PwLmo//zD3gOVa2anLOwHuMudHURqfjT0Qt3ThLxvihw==" crossorigin="anonymous"> | ||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/select2/4.0.12/css/select2.min.css" integrity="sha256-FdatTf20PQr/rWg+cAKfl6j4/IY3oohFAJ7gVC3M34E=" crossorigin="anonymous" /> | ||
|
||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/selectize.js/0.12.6/css/selectize.bootstrap3.min.css"> | ||
|
@@ -144,10 +144,10 @@ | |
<script src="https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.24.0/moment-with-locales.min.js"></script> | ||
<script src="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-datetimepicker/4.17.47/js/bootstrap-datetimepicker.min.js"></script> | ||
|
||
<script defer src="https://use.fontawesome.com/releases/v5.12.1/js/all.js"></script> | ||
<script src="https://use.fontawesome.com/releases/v5.12.1/js/all.js" integrity="sha512-xd+EFQjacRjTkapQNqqRNk8M/7kaek9rFqYMsbpEhTLdzq/3mgXXRXaz1u5rnYFH5mQ9cEZQjGFHFdrJX2CilA==" crossorigin="anonymous"></script> | ||
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.16.1/umd/popper.min.js"></script> | ||
|
||
<script src="https://cdn.quilljs.com/1.3.6/quill.min.js"></script> | ||
<script src="https://cdn.quilljs.com/1.3.6/quill.min.js" integrity="sha512-3OiXhM6bvRST0JlpR++aDMUh4n9QETHJdKEZ4U2gpDtyS8ZZF3h0072MaPDbjg/Q9W8Ki7G36Ay8I3xoUosPFg==" crossorigin="anonymous"></script> | ||
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery.blockUI/2.70/jquery.blockUI.min.js"></script> | ||
|
||
<script src="{% static 'js/ajaxForm.js' %}"></script> | ||
|
@@ -162,10 +162,10 @@ | |
<script src="https://cdnjs.cloudflare.com/ajax/libs/jqueryui/1.12.1/jquery-ui.min.js" integrity="sha256-KM512VNnjElC30ehFwehXjx1YCHPiQkOPmqnrWtpccM=" crossorigin="anonymous"></script> | ||
|
||
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery-tagsinput/1.3.6/jquery.tagsinput.min.js" integrity="sha256-IkytFcY/Z/rLvRE9rYyZvybaitAWr1y2jS/+eyxXky8=" crossorigin="anonymous"></script> | ||
<script src="https://malsup.github.io/jquery.form.js"></script> | ||
|
||
<script src="https://cdn.ckeditor.com/4.5.4/basic/ckeditor.js"></script> | ||
|
||
<script src="https://malsup.github.io/jquery.form.js" integrity="sha512-Oi6cjDvQoNE5//zQpL9PIbAFg4I2hosC80Xnyoo0MQYOhvYHdfvgoAm/AR1/viXoiuo/7UpJIzCuabgYGtM89w==" crossorigin="anonymous"></script> | ||
<script src="https://cdn.ckeditor.com/4.5.4/basic/ckeditor.js" integrity="sha512-R+19sqnzL8D6zFIft6a9ZpWdljtRbupgMOLSES67d7U7vuC8FBy8Aw0i/dI7Vt0bbg6RMPAl1FlTSrslycuhIg==" crossorigin="anonymous"></script> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 💡 Codebase verification Critical: Update CKEditor version and implement secure configuration The verification confirms CKEditor is used in multiple templates with minimal security configuration:
Action items:
🔗 Analysis chainCritical: Update CKEditor version and consider security preset Two important security considerations:
Consider:
Let me analyze the CKEditor usage patterns and security configurations in the codebase to provide a more comprehensive verification of the concerns. 🏁 Scripts executedThe following scripts were executed for the analysis: Script: #!/bin/bash
# Check for known vulnerabilities in CKEditor 4.5.4
gh api graphql -f query='
{
securityVulnerabilities(first: 5, ecosystem: NPM, package: "ckeditor", range: "4.5.4") {
nodes {
advisory {
summary
severity
publishedAt
}
vulnerableVersionRange
firstPatchedVersion {
identifier
}
}
}
}'
Length of output: 767 Script: #!/bin/bash
# Search for CKEditor usage and configuration in the codebase
rg -l "ckeditor" --type html --type js
# Check if there are any security-related configurations or documentation
rg -i "ckeditor.*security|security.*ckeditor" --type html --type js --type md
# Look for any CKEditor initialization or configuration code
ast-grep --pattern 'CKEDITOR.replace($$$)'
Length of output: 735 |
||
<script src="{% static 'js/bootstrap-suggest.js' %}"></script> | ||
|
||
{% block js_block %}{% endblock js_block %} | ||
|
@@ -205,4 +205,4 @@ | |
</script> | ||
</body> | ||
|
||
</html> | ||
</html> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Use official CDN or self-host jQuery Form plugin
While the SRI implementation is correct, loading from
malsup.github.io
is not recommended as it's a personal GitHub page. Consider:This change would provide better reliability and security.
Example using cdnjs:
📝 Committable suggestion