step 2/2 opengrep scan --quiet --disable-version-check --config /opt/opengrep-rules --sarif-output="$GITBAY_RESULTS/opengrep.sarif" .
┌──────────────────┐
│ 56 Code Findings │
└──────────────────┘
templates/app.html
❯❱ opt.opengrep-rules.generic.html-templates.security.var-in-href
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 using Flask, use 'url_for()' to safely generate a URL. If using Django, use the 'url'
filter to safely generate a URL. If using Mustache, use a URL encoding library, or prepend a slash
'/' to the variable for relative links (`href="/{{link}}"`). You may also consider setting the
Content Security Policy (CSP) header.
7┆ <p class="back"><a href="{{ get_url(path="@/apps/_index.md") | safe }}">← all
apps</a></p>
❯❱ opt.opengrep-rules.generic.html-templates.security.unquoted-attribute-var
Detected a unquoted template variable as an attribute. If unquoted, a malicious actor could inject
custom JavaScript handlers. To fix this, add quotes around the template expression, like this: "{{
expr }}".
7┆ <p class="back"><a href="{{ get_url(path="@/apps/_index.md") | safe }}">← all
apps</a></p>
❯❱ opt.opengrep-rules.python.flask.security.xss.audit.template-unescaped-with-safe
Detected a segment of a Flask template where autoescaping is explicitly disabled with '| safe'
filter. This allows rendering of raw HTML in this segment. Ensure no user data is rendered here,
otherwise this is a cross-site scripting (XSS) vulnerability.
7┆ <p class="back"><a href="{{ get_url(path="@/apps/_index.md") | safe }}">← all
apps</a></p>
❯❱ opt.opengrep-rules.generic.html-templates.security.var-in-href
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 using Flask, use 'url_for()' to safely generate a URL. If using Django, use the 'url'
filter to safely generate a URL. If using Mustache, use a URL encoding library, or prepend a slash
'/' to the variable for relative links (`href="/{{link}}"`). You may also consider setting the
Content Security Policy (CSP) header.
20┆ {% if page.extra.link %}<a class="btn" href="{{ page.extra.link }}">{{
page.extra.link_label | default(value="source") | lower }} →</a>{% endif %}
❯❱ opt.opengrep-rules.python.flask.security.xss.audit.template-unescaped-with-safe
Detected a segment of a Flask template where autoescaping is explicitly disabled with '| safe'
filter. This allows rendering of raw HTML in this segment. Ensure no user data is rendered here,
otherwise this is a cross-site scripting (XSS) vulnerability.
42┆ {{ page.content | safe }}
❯❱ opt.opengrep-rules.generic.html-templates.security.var-in-href
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 using Flask, use 'url_for()' to safely generate a URL. If using Django, use the 'url'
filter to safely generate a URL. If using Mustache, use a URL encoding library, or prepend a slash
'/' to the variable for relative links (`href="/{{link}}"`). You may also consider setting the
Content Security Policy (CSP) header.
46┆ {% if page.extra.appstore %}<a href="{{ page.extra.appstore }}">app store</a>{% endif %}
⋮┆----------------------------------------
47┆ {% if page.extra.link %}<a href="{{ page.extra.link }}">{{ page.extra.link_label |
default(value="source") | lower }}</a>{% endif %}
⋮┆----------------------------------------
50┆ <a href="{{ privacy_url | safe }}">privacy policy</a>
❯❱ opt.opengrep-rules.python.flask.security.xss.audit.template-unescaped-with-safe
Detected a segment of a Flask template where autoescaping is explicitly disabled with '| safe'
filter. This allows rendering of raw HTML in this segment. Ensure no user data is rendered here,
otherwise this is a cross-site scripting (XSS) vulnerability.
50┆ <a href="{{ privacy_url | safe }}">privacy policy</a>
templates/apps.html
❯❱ opt.opengrep-rules.python.flask.security.xss.audit.template-unescaped-with-safe
Detected a segment of a Flask template where autoescaping is explicitly disabled with '| safe'
filter. This allows rendering of raw HTML in this segment. Ensure no user data is rendered here,
otherwise this is a cross-site scripting (XSS) vulnerability.
8┆ <div class="prose apps-intro">{{ section.content | safe }}</div>
❯❱ opt.opengrep-rules.generic.html-templates.security.var-in-href
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 using Flask, use 'url_for()' to safely generate a URL. If using Django, use the 'url'
filter to safely generate a URL. If using Mustache, use a URL encoding library, or prepend a slash
'/' to the variable for relative links (`href="/{{link}}"`). You may also consider setting the
Content Security Policy (CSP) header.
17┆ <h2 class="app-name"><a class="app-card-link" href="{{ page.permalink | safe }}">{{
page.title }}</a></h2>
❯❱ opt.opengrep-rules.python.flask.security.xss.audit.template-unescaped-with-safe
Detected a segment of a Flask template where autoescaping is explicitly disabled with '| safe'
filter. This allows rendering of raw HTML in this segment. Ensure no user data is rendered here,
otherwise this is a cross-site scripting (XSS) vulnerability.
17┆ <h2 class="app-name"><a class="app-card-link" href="{{ page.permalink | safe }}">{{
page.title }}</a></h2>
❯❱ opt.opengrep-rules.generic.html-templates.security.var-in-href
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 using Flask, use 'url_for()' to safely generate a URL. If using Django, use the 'url'
filter to safely generate a URL. If using Mustache, use a URL encoding library, or prepend a slash
'/' to the variable for relative links (`href="/{{link}}"`). You may also consider setting the
Content Security Policy (CSP) header.
23┆ {% if page.extra.appstore %}<a href="{{ page.extra.appstore }}">app store</a>{% endif %}
templates/base.html
❯❱ opt.opengrep-rules.generic.html-templates.security.unquoted-attribute-var
Detected a unquoted template variable as an attribute. If unquoted, a malicious actor could inject
custom JavaScript handlers. To fix this, add quotes around the template expression, like this: "{{
expr }}".
2┆ <html lang="{{ lang | default(value="en") }}">
⋮┆----------------------------------------
9┆ <link rel="stylesheet" href="{{ get_url(path="main.css", cachebust=true) | safe }}">
❯❱ opt.opengrep-rules.python.flask.security.xss.audit.template-unescaped-with-safe
Detected a segment of a Flask template where autoescaping is explicitly disabled with '| safe'
filter. This allows rendering of raw HTML in this segment. Ensure no user data is rendered here,
otherwise this is a cross-site scripting (XSS) vulnerability.
9┆ <link rel="stylesheet" href="{{ get_url(path="main.css", cachebust=true) | safe }}">
❯❱ opt.opengrep-rules.generic.html-templates.security.unquoted-attribute-var
Detected a unquoted template variable as an attribute. If unquoted, a malicious actor could inject
custom JavaScript handlers. To fix this, add quotes around the template expression, like this: "{{
expr }}".
10┆ <link rel="icon" href="{{ get_url(path="favicon.svg", cachebust=true) | safe }}">
❯❱ opt.opengrep-rules.python.flask.security.xss.audit.template-unescaped-with-safe
Detected a segment of a Flask template where autoescaping is explicitly disabled with '| safe'
filter. This allows rendering of raw HTML in this segment. Ensure no user data is rendered here,
otherwise this is a cross-site scripting (XSS) vulnerability.
10┆ <link rel="icon" href="{{ get_url(path="favicon.svg", cachebust=true) | safe }}">
❯❱ opt.opengrep-rules.generic.html-templates.security.unquoted-attribute-var
Detected a unquoted template variable as an attribute. If unquoted, a malicious actor could inject
custom JavaScript handlers. To fix this, add quotes around the template expression, like this: "{{
expr }}".
11┆ <link rel="apple-touch-icon" href="{{ get_url(path="apple-touch-icon.png", cachebust=true)
| safe }}">
❯❱ opt.opengrep-rules.python.flask.security.xss.audit.template-unescaped-with-safe
Detected a segment of a Flask template where autoescaping is explicitly disabled with '| safe'
filter. This allows rendering of raw HTML in this segment. Ensure no user data is rendered here,
otherwise this is a cross-site scripting (XSS) vulnerability.
11┆ <link rel="apple-touch-icon" href="{{ get_url(path="apple-touch-icon.png", cachebust=true)
| safe }}">
⋮┆----------------------------------------
14┆ <meta property="og:url" content="{{ current_url | default(value=config.base_url) | safe
}}">
❯❱ opt.opengrep-rules.generic.html-templates.security.unquoted-attribute-var
Detected a unquoted template variable as an attribute. If unquoted, a malicious actor could inject
custom JavaScript handlers. To fix this, add quotes around the template expression, like this: "{{
expr }}".
15┆ <meta property="og:image" content="{{ get_url(path="og.png", cachebust=true) | safe }}">
❯❱ opt.opengrep-rules.python.flask.security.xss.audit.template-unescaped-with-safe
Detected a segment of a Flask template where autoescaping is explicitly disabled with '| safe'
filter. This allows rendering of raw HTML in this segment. Ensure no user data is rendered here,
otherwise this is a cross-site scripting (XSS) vulnerability.
15┆ <meta property="og:image" content="{{ get_url(path="og.png", cachebust=true) | safe }}">
❯❱ opt.opengrep-rules.generic.html-templates.security.var-in-href
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 using Flask, use 'url_for()' to safely generate a URL. If using Django, use the 'url'
filter to safely generate a URL. If using Mustache, use a URL encoding library, or prepend a slash
'/' to the variable for relative links (`href="/{{link}}"`). You may also consider setting the
Content Security Policy (CSP) header.
22┆ <a class="brand" href="{{ get_url(path="/") | safe }}">krz</a>
❯❱ opt.opengrep-rules.generic.html-templates.security.unquoted-attribute-var
Detected a unquoted template variable as an attribute. If unquoted, a malicious actor could inject
custom JavaScript handlers. To fix this, add quotes around the template expression, like this: "{{
expr }}".
22┆ <a class="brand" href="{{ get_url(path="/") | safe }}">krz</a>
❯❱ opt.opengrep-rules.python.flask.security.xss.audit.template-unescaped-with-safe
Detected a segment of a Flask template where autoescaping is explicitly disabled with '| safe'
filter. This allows rendering of raw HTML in this segment. Ensure no user data is rendered here,
otherwise this is a cross-site scripting (XSS) vulnerability.
22┆ <a class="brand" href="{{ get_url(path="/") | safe }}">krz</a>
❯❱ opt.opengrep-rules.generic.html-templates.security.var-in-href
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 using Flask, use 'url_for()' to safely generate a URL. If using Django, use the 'url'
filter to safely generate a URL. If using Mustache, use a URL encoding library, or prepend a slash
'/' to the variable for relative links (`href="/{{link}}"`). You may also consider setting the
Content Security Policy (CSP) header.
24┆ <a href="{{ get_url(path="@/apps/_index.md") | safe }}">apps</a>
❯❱ opt.opengrep-rules.generic.html-templates.security.unquoted-attribute-var
Detected a unquoted template variable as an attribute. If unquoted, a malicious actor could inject
custom JavaScript handlers. To fix this, add quotes around the template expression, like this: "{{
expr }}".
24┆ <a href="{{ get_url(path="@/apps/_index.md") | safe }}">apps</a>
❯❱ opt.opengrep-rules.python.flask.security.xss.audit.template-unescaped-with-safe
Detected a segment of a Flask template where autoescaping is explicitly disabled with '| safe'
filter. This allows rendering of raw HTML in this segment. Ensure no user data is rendered here,
otherwise this is a cross-site scripting (XSS) vulnerability.
24┆ <a href="{{ get_url(path="@/apps/_index.md") | safe }}">apps</a>
❯❱ opt.opengrep-rules.generic.html-templates.security.var-in-href
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 using Flask, use 'url_for()' to safely generate a URL. If using Django, use the 'url'
filter to safely generate a URL. If using Mustache, use a URL encoding library, or prepend a slash
'/' to the variable for relative links (`href="/{{link}}"`). You may also consider setting the
Content Security Policy (CSP) header.
25┆ <a href="{{ get_url(path="@/services/_index.md") | safe }}">services</a>
❯❱ opt.opengrep-rules.generic.html-templates.security.unquoted-attribute-var
Detected a unquoted template variable as an attribute. If unquoted, a malicious actor could inject
custom JavaScript handlers. To fix this, add quotes around the template expression, like this: "{{
expr }}".
25┆ <a href="{{ get_url(path="@/services/_index.md") | safe }}">services</a>
❯❱ opt.opengrep-rules.python.flask.security.xss.audit.template-unescaped-with-safe
Detected a segment of a Flask template where autoescaping is explicitly disabled with '| safe'
filter. This allows rendering of raw HTML in this segment. Ensure no user data is rendered here,
otherwise this is a cross-site scripting (XSS) vulnerability.
25┆ <a href="{{ get_url(path="@/services/_index.md") | safe }}">services</a>
⋮┆----------------------------------------
35┆ <p class="foot-links"><a href="mailto:{{ config.extra.email }}">{{ config.extra.email
}}</a> · <a href="https://gitbay.org/krz">git</a> · <a href="{{ get_url(path="/privacy/") |
safe }}">privacy</a> · © {{ now() | date(format="%Y") }} · public domain</p>
❯❱ opt.opengrep-rules.generic.html-templates.security.var-in-href
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 using Flask, use 'url_for()' to safely generate a URL. If using Django, use the 'url'
filter to safely generate a URL. If using Mustache, use a URL encoding library, or prepend a slash
'/' to the variable for relative links (`href="/{{link}}"`). You may also consider setting the
Content Security Policy (CSP) header.
35┆ <p class="foot-links"><a href="mailto:{{ config.extra.email }}">{{ config.extra.email
}}</a> · <a href="https://gitbay.org/krz">git</a> · <a href="{{ get_url(path="/privacy/") |
safe }}">privacy</a> · © {{ now() | date(format="%Y") }} · public domain</p>
❯❱ opt.opengrep-rules.generic.html-templates.security.unquoted-attribute-var
Detected a unquoted template variable as an attribute. If unquoted, a malicious actor could inject
custom JavaScript handlers. To fix this, add quotes around the template expression, like this: "{{
expr }}".
35┆ <p class="foot-links"><a href="mailto:{{ config.extra.email }}">{{ config.extra.email
}}</a> · <a href="https://gitbay.org/krz">git</a> · <a href="{{ get_url(path="/privacy/") |
safe }}">privacy</a> · © {{ now() | date(format="%Y") }} · public domain</p>
templates/index.html
❯❱ opt.opengrep-rules.python.flask.security.xss.audit.template-unescaped-with-safe
Detected a segment of a Flask template where autoescaping is explicitly disabled with '| safe'
filter. This allows rendering of raw HTML in this segment. Ensure no user data is rendered here,
otherwise this is a cross-site scripting (XSS) vulnerability.
18┆ <div class="prose">{{ section.content | safe }}</div>
templates/page.html
❯❱ opt.opengrep-rules.generic.html-templates.security.var-in-href
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 using Flask, use 'url_for()' to safely generate a URL. If using Django, use the 'url'
filter to safely generate a URL. If using Mustache, use a URL encoding library, or prepend a slash
'/' to the variable for relative links (`href="/{{link}}"`). You may also consider setting the
Content Security Policy (CSP) header.
8┆ <p class="back"><a href="{{ parent.permalink | safe }}">← back</a></p>
❯❱ opt.opengrep-rules.python.flask.security.xss.audit.template-unescaped-with-safe
Detected a segment of a Flask template where autoescaping is explicitly disabled with '| safe'
filter. This allows rendering of raw HTML in this segment. Ensure no user data is rendered here,
otherwise this is a cross-site scripting (XSS) vulnerability.
8┆ <p class="back"><a href="{{ parent.permalink | safe }}">← back</a></p>
⋮┆----------------------------------------
10┆ <a class="app-ref"{% if icon_page.extra.tint %} style="--tint: {{ icon_page.extra.tint
}}"{% endif %} href="{{ icon_page.permalink | safe }}">
❯❱ opt.opengrep-rules.generic.html-templates.security.var-in-href
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 using Flask, use 'url_for()' to safely generate a URL. If using Django, use the 'url'
filter to safely generate a URL. If using Mustache, use a URL encoding library, or prepend a slash
'/' to the variable for relative links (`href="/{{link}}"`). You may also consider setting the
Content Security Policy (CSP) header.
10┆ <a class="app-ref"{% if icon_page.extra.tint %} style="--tint: {{ icon_page.extra.tint
}}"{% endif %} href="{{ icon_page.permalink | safe }}">
❯❱ opt.opengrep-rules.python.flask.security.xss.audit.template-unescaped-with-safe
Detected a segment of a Flask template where autoescaping is explicitly disabled with '| safe'
filter. This allows rendering of raw HTML in this segment. Ensure no user data is rendered here,
otherwise this is a cross-site scripting (XSS) vulnerability.
19┆ {{ page.content | safe }}
templates/partials/app-art.html
❯❱ opt.opengrep-rules.generic.html-templates.security.unquoted-attribute-var
Detected a unquoted template variable as an attribute. If unquoted, a malicious actor could inject
custom JavaScript handlers. To fix this, add quotes around the template expression, like this: "{{
expr }}".
2┆ <div class="{{ art_class | default(value="app-art") }}{% if not page.extra.header %} app-
art-composed{% endif %}">
templates/partials/app-icon.html
❯❱ opt.opengrep-rules.generic.html-templates.security.unquoted-attribute-var
Detected a unquoted template variable as an attribute. If unquoted, a malicious actor could inject
custom JavaScript handlers. To fix this, add quotes around the template expression, like this: "{{
expr }}".
3┆ <img class="{{ icon_class | default(value="app-icon") }}" src="{{ p.extra.icon }}" alt=""
width="1024" height="1024">
⋮┆----------------------------------------
5┆ <span class="{{ icon_class | default(value="app-icon") }} app-icon-mono" aria-
hidden="true">{{ p.title | truncate(length=1, end="") | upper }}</span>
templates/partials/app-store.html
❯❱ opt.opengrep-rules.generic.html-templates.security.var-in-href
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 using Flask, use 'url_for()' to safely generate a URL. If using Django, use the 'url'
filter to safely generate a URL. If using Mustache, use a URL encoding library, or prepend a slash
'/' to the variable for relative links (`href="/{{link}}"`). You may also consider setting the
Content Security Policy (CSP) header.
2┆ <a class="btn-store" href="{{ page.extra.appstore }}">
templates/partials/apps.html
❯❱ opt.opengrep-rules.generic.html-templates.security.var-in-href
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 using Flask, use 'url_for()' to safely generate a URL. If using Django, use the 'url'
filter to safely generate a URL. If using Mustache, use a URL encoding library, or prepend a slash
'/' to the variable for relative links (`href="/{{link}}"`). You may also consider setting the
Content Security Policy (CSP) header.
5┆ <a class="app-row" href="{{ page.permalink | safe }}">
❯❱ opt.opengrep-rules.python.flask.security.xss.audit.template-unescaped-with-safe
Detected a segment of a Flask template where autoescaping is explicitly disabled with '| safe'
filter. This allows rendering of raw HTML in this segment. Ensure no user data is rendered here,
otherwise this is a cross-site scripting (XSS) vulnerability.
5┆ <a class="app-row" href="{{ page.permalink | safe }}">
❯❱ opt.opengrep-rules.generic.html-templates.security.var-in-href
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 using Flask, use 'url_for()' to safely generate a URL. If using Django, use the 'url'
filter to safely generate a URL. If using Mustache, use a URL encoding library, or prepend a slash
'/' to the variable for relative links (`href="/{{link}}"`). You may also consider setting the
Content Security Policy (CSP) header.
14┆ <p class="dir-more"><a href="{{ apps.permalink | safe }}">all apps →</a></p>
❯❱ opt.opengrep-rules.python.flask.security.xss.audit.template-unescaped-with-safe
Detected a segment of a Flask template where autoescaping is explicitly disabled with '| safe'
filter. This allows rendering of raw HTML in this segment. Ensure no user data is rendered here,
otherwise this is a cross-site scripting (XSS) vulnerability.
14┆ <p class="dir-more"><a href="{{ apps.permalink | safe }}">all apps →</a></p>
templates/partials/services.html
❯❱ opt.opengrep-rules.generic.html-templates.security.var-in-href
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 using Flask, use 'url_for()' to safely generate a URL. If using Django, use the 'url'
filter to safely generate a URL. If using Mustache, use a URL encoding library, or prepend a slash
'/' to the variable for relative links (`href="/{{link}}"`). You may also consider setting the
Content Security Policy (CSP) header.
8┆ <a class="svc-card" href="{{ item.url }}">
templates/section.html
❯❱ opt.opengrep-rules.python.flask.security.xss.audit.template-unescaped-with-safe
Detected a segment of a Flask template where autoescaping is explicitly disabled with '| safe'
filter. This allows rendering of raw HTML in this segment. Ensure no user data is rendered here,
otherwise this is a cross-site scripting (XSS) vulnerability.
9┆ {{ section.content | safe }}
❯❱ opt.opengrep-rules.generic.html-templates.security.var-in-href
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 using Flask, use 'url_for()' to safely generate a URL. If using Django, use the 'url'
filter to safely generate a URL. If using Mustache, use a URL encoding library, or prepend a slash
'/' to the variable for relative links (`href="/{{link}}"`). You may also consider setting the
Content Security Policy (CSP) header.
18┆ <a class="pl-name" href="{{ page.permalink | safe }}">{{ page.title }}</a>
❯❱ opt.opengrep-rules.python.flask.security.xss.audit.template-unescaped-with-safe
Detected a segment of a Flask template where autoescaping is explicitly disabled with '| safe'
filter. This allows rendering of raw HTML in this segment. Ensure no user data is rendered here,
otherwise this is a cross-site scripting (XSS) vulnerability.
18┆ <a class="pl-name" href="{{ page.permalink | safe }}">{{ page.title }}</a>
❯❱ opt.opengrep-rules.generic.html-templates.security.var-in-href
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 using Flask, use 'url_for()' to safely generate a URL. If using Django, use the 'url'
filter to safely generate a URL. If using Mustache, use a URL encoding library, or prepend a slash
'/' to the variable for relative links (`href="/{{link}}"`). You may also consider setting the
Content Security Policy (CSP) header.
23┆ {% if page.extra.appstore %}<a class="pl-link" href="{{ page.extra.appstore }}">app store
→</a>{% endif %}
⋮┆----------------------------------------
24┆ {% if page.extra.link %}<a class="pl-link" href="{{ page.extra.link }}">{{
page.extra.link_label | default(value="source") | lower }} →</a>{% endif %}
templates/services.html
❯❱ opt.opengrep-rules.python.flask.security.xss.audit.template-unescaped-with-safe
Detected a segment of a Flask template where autoescaping is explicitly disabled with '| safe'
filter. This allows rendering of raw HTML in this segment. Ensure no user data is rendered here,
otherwise this is a cross-site scripting (XSS) vulnerability.
8┆ <div class="prose apps-intro">{{ section.content | safe }}</div>
results uploaded