-
Notifications
You must be signed in to change notification settings - Fork 2
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
Added captacha #168
base: dev
Are you sure you want to change the base?
Added captacha #168
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 |
---|---|---|
@@ -1,15 +1,16 @@ | ||
{% extends 'base.html' %} | ||
{% block title %} Error {{code}} - Hack@UCF {% endblock %} | ||
{% block content %} | ||
{% extends 'base.html' %} {% block title %} Error {{code}} - Hack@UCF {% | ||
endblock %} {% block content %} | ||
<body> | ||
<div class="app" id="1"> | ||
<h1>Error {{code}}</h1> | ||
<h2>{{reason}}</h2> | ||
<div class="app" id="1"> | ||
<h1>Error {{code}}</h1> | ||
<h2>{{reason}}</h2> | ||
|
||
<a class="btn" href="/"><i class="fa-solid fa-house"></i> Go Home</a> | ||
<a class="btn" href="{{return_url}}" | ||
Check warning Code scanning / Semgrep OSS Semgrep Finding: python.django.security.audit.xss.template-href-var.template-href-var Warning
Detected a template variable used in an anchor tag with the 'href' attribute. This allows a malicious actor to input the 'javascript:' URI and is subject to cross- site scripting (XSS) attacks. Use the 'url' template tag to safely generate a URL. You may also consider setting the Content Security Policy (CSP) header.
Check warning Code scanning / Semgrep OSS Semgrep Finding: python.flask.security.xss.audit.template-href-var.template-href-var Warning
Detected a template variable used in an anchor tag with the 'href' attribute. This allows a malicious actor to input the 'javascript:' URI and is subject to cross- site scripting (XSS) attacks. Use 'url_for()' to safely generate a URL. You may also consider setting the Content Security Policy (CSP) header.
|
||
><i class="fa-solid fa-house"></i> {{return_text}}</a | ||
> | ||
|
||
<h6>{{essay}}</h6> | ||
</div> | ||
<h6>{{essay}}</h6> | ||
</div> | ||
</body> | ||
<script type="text/javascript" src="/static/form.js"></script> | ||
{% endblock %} |
Check warning
Code scanning / Semgrep OSS
Semgrep Finding: javascript.express.security.audit.xss.mustache.var-in-href.var-in-href Warning