Skip to content

Guard against parsing non-JSON responses as JSON

5c4092c
Select commit
Loading
Failed to load commit list.
Open

Guard against parsing non-JSON responses as JSON #8491

Guard against parsing non-JSON responses as JSON
5c4092c
Select commit
Loading
Failed to load commit list.
GitHub Advanced Security / CodeQL failed Feb 9, 2026 in 6s

2 new alerts including 1 high severity security vulnerability

New alerts in code changed by this pull request

Security Alerts:

  • 1 high
  • 1 medium

See annotations below for details.

View all branch alerts.

Annotations

Check failure on line 24 in app/javascript/bootcamp/return.js

See this annotation in the file changed.

Code scanning / CodeQL

Client-side cross-site scripting High

Cross-site scripting vulnerability due to
user-provided value
.

Check warning on line 24 in app/javascript/bootcamp/return.js

See this annotation in the file changed.

Code scanning / CodeQL

Client-side URL redirect Medium

Untrusted URL redirection depends on a
user-provided value
.