Code scanning findings #4

closed gitbay-bot opened this on 2026-11-15 04:06 UTC

Discussion

gitbay-bot 2026-11-15 04:06 UTC

The scheduled code scan of main reported these findings. This issue is kept up to date as that changes, and closed once none are open.

Opengrep OSS

  • content/templates/app.html:27 opt.opengrep-rules.generic.html-templates.security.var-in-href (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. If usi… 4061c700c4
  • content/templates/app.html:28 opt.opengrep-rules.generic.html-templates.security.var-in-href (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. If usi… 118efada17
  • content/templates/app.html:29 opt.opengrep-rules.generic.html-templates.security.var-in-href (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. If usi… 33fd13f30b
  • content/templates/base.html:71 opt.opengrep-rules.generic.html-templates.security.var-in-href (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. If usi… 54ca9d5351
  • content/templates/home.html:47 opt.opengrep-rules.generic.html-templates.security.var-in-href (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. If usi… 2b6723b2e3
  • content/templates/home.html:54 opt.opengrep-rules.generic.html-templates.security.var-in-href (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. If usi… b1f7b1b6b0
  • content/templates/home.html:67 opt.opengrep-rules.generic.html-templates.security.var-in-href (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. If usi… e447380bd4
  • content/templates/home.html:77 opt.opengrep-rules.generic.html-templates.security.var-in-href (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. If usi… 0d904ad9a1
  • content/templates/home.html:97 opt.opengrep-rules.generic.html-templates.security.var-in-href (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. If usi… 3999be71dc
  • content/templates/redirect.html:14 opt.opengrep-rules.generic.html-templates.security.var-in-href (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. If usi… 4f21569a0b

Not listed: 17 dismissed; 3 from rules for libraries it does not use (flask 3); 3 unquoted-attribute hits on attributes the template quotes. repo security status cmc/cleberg.net shows them.

To dismiss one: repo security dismiss cmc/cleberg.net <fingerprint> --reason false-positive|wont-fix|test.