MAKENTNU/web

View on GitHub
src/news/admin.py

Summary

Maintainability
A
0 mins
Test Coverage

Potential XSS on mark_safe function.
Open

            return mark_safe(f"- <i>({standalone_notice})</i>")
Severity: Minor
Found in src/news/admin.py by bandit

Potential XSS on mark_safe function.
Open

                mark_safe(
                    f"{time_place.ticket_count}/{time_place.number_of_tickets}&emsp;"
                    + link_to_admin_change_form(time_place, text=f"({short_datetime_format(time_place.start_time)})")
Severity: Minor
Found in src/news/admin.py by bandit

Use of mark_safe() may expose cross-site scripting vulnerabilities and should be reviewed.
Open

                mark_safe(
                    f"{time_place.ticket_count}/{time_place.number_of_tickets}&emsp;"
                    + link_to_admin_change_form(time_place, text=f"({short_datetime_format(time_place.start_time)})")
Severity: Minor
Found in src/news/admin.py by bandit

Use of mark_safe() may expose cross-site scripting vulnerabilities and should be reviewed.
Open

            return mark_safe(f"- <i>({standalone_notice})</i>")
Severity: Minor
Found in src/news/admin.py by bandit

There are no issues that match your filters.

Category
Status