ZAP Scanning Report

Site: https://forum.inclusion.beta.gouv.fr

Generated on Sun, 13 Jul 2025 03:54:07

ZAP Version: 2.16.1

ZAP by Checkmarx

Summary of Alerts

Risk Level Number of Alerts
High
0
Medium
2
Low
3
Informational
9
False Positives:
0

Summary of Sequences

For each step: result (Pass/Fail) - risk (of highest alert(s) for the step, if any).

Alerts

Name Risk Level Number of Instances
CSP: Failure to Define Directive with No Fallback Medium 1
CSP: style-src unsafe-inline Medium 1
Cookie No HttpOnly Flag Low 1
Insufficient Site Isolation Against Spectre Vulnerability Low 2
Strict-Transport-Security Header Not Set Low 3
Base64 Disclosure Informational 1
Modern Web Application Informational 1
Re-examine Cache-control Directives Informational 1
Sec-Fetch-Dest Header is Missing Informational 3
Sec-Fetch-Mode Header is Missing Informational 3
Sec-Fetch-Site Header is Missing Informational 3
Sec-Fetch-User Header is Missing Informational 3
Session Management Response Identified Informational 1
Storable and Cacheable Content Informational 3

Alert Detail

Medium
CSP: Failure to Define Directive with No Fallback
Description
The Content Security Policy fails to define one of the directives that has no fallback. Missing/excluding them is the same as allowing anything.
URL https://forum.inclusion.beta.gouv.fr
Method GET
Parameter Content-Security-Policy
Attack
Evidence style-src-elem 'self' https://fonts.googleapis.com 'unsafe-inline'; script-src-elem 'self' 'nonce-pG95trKZ7i/b3hlZ32jOkQ==' https://cdn.jsdelivr.net/npm/chart.js@4.0.1 https://cdn.jsdelivr.net/npm/jquery@3.6.1/dist/jquery.min.js https://cdn.jsdelivr.net/npm/@popperjs/core@2.11.8/dist/umd/popper.min.js https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.min.js https://browser.sentry-cdn.com/9.30.0/bundle.min.js https://tally.so https://www.youtube.com/iframe_api https://www.youtube.com/s/player/ https://matomo.inclusion.beta.gouv.fr/; connect-src 'self' *.sentry.io https://api-adresse.data.gouv.fr https://matomo.inclusion.beta.gouv.fr/; script-src 'self' 'nonce-pG95trKZ7i/b3hlZ32jOkQ==' https://cdn.jsdelivr.net/npm/chart.js@4.0.1 https://cdn.jsdelivr.net/npm/jquery@3.6.1/dist/jquery.min.js https://cdn.jsdelivr.net/npm/@popperjs/core@2.11.8/dist/umd/popper.min.js https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.min.js https://browser.sentry-cdn.com/9.30.0/bundle.min.js https://tally.so https://www.youtube.com/iframe_api https://www.youtube.com/s/player/ https://matomo.inclusion.beta.gouv.fr/; img-src 'self' data: cellar-c2.services.clever-cloud.com https://matomo.inclusion.beta.gouv.fr/; frame-src 'self' https://tally.so https://www.youtube.com/embed/; default-src 'self'; font-src 'self' https://fonts.gstatic.com/ data:; style-src 'self' https://fonts.googleapis.com 'unsafe-inline'
Other Info The directive(s): frame-ancestors, form-action is/are among the directives that do not fallback to default-src.
Instances 1
Solution
Ensure that your web server, application server, load balancer, etc. is properly configured to set the Content-Security-Policy header.
Reference https://www.w3.org/TR/CSP/
https://caniuse.com/#search=content+security+policy
https://content-security-policy.com/
https://github.com/HtmlUnit/htmlunit-csp
https://developers.google.com/web/fundamentals/security/csp#policy_applies_to_a_wide_variety_of_resources
CWE Id 693
WASC Id 15
Plugin Id 10055
Medium
CSP: style-src unsafe-inline
Description
Content Security Policy (CSP) is an added layer of security that helps to detect and mitigate certain types of attacks. Including (but not limited to) Cross Site Scripting (XSS), and data injection attacks. These attacks are used for everything from data theft to site defacement or distribution of malware. CSP provides a set of standard HTTP headers that allow website owners to declare approved sources of content that browsers should be allowed to load on that page — covered types are JavaScript, CSS, HTML frames, fonts, images and embeddable objects such as Java applets, ActiveX, audio and video files.
URL https://forum.inclusion.beta.gouv.fr
Method GET
Parameter Content-Security-Policy
Attack
Evidence style-src-elem 'self' https://fonts.googleapis.com 'unsafe-inline'; script-src-elem 'self' 'nonce-pG95trKZ7i/b3hlZ32jOkQ==' https://cdn.jsdelivr.net/npm/chart.js@4.0.1 https://cdn.jsdelivr.net/npm/jquery@3.6.1/dist/jquery.min.js https://cdn.jsdelivr.net/npm/@popperjs/core@2.11.8/dist/umd/popper.min.js https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.min.js https://browser.sentry-cdn.com/9.30.0/bundle.min.js https://tally.so https://www.youtube.com/iframe_api https://www.youtube.com/s/player/ https://matomo.inclusion.beta.gouv.fr/; connect-src 'self' *.sentry.io https://api-adresse.data.gouv.fr https://matomo.inclusion.beta.gouv.fr/; script-src 'self' 'nonce-pG95trKZ7i/b3hlZ32jOkQ==' https://cdn.jsdelivr.net/npm/chart.js@4.0.1 https://cdn.jsdelivr.net/npm/jquery@3.6.1/dist/jquery.min.js https://cdn.jsdelivr.net/npm/@popperjs/core@2.11.8/dist/umd/popper.min.js https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.min.js https://browser.sentry-cdn.com/9.30.0/bundle.min.js https://tally.so https://www.youtube.com/iframe_api https://www.youtube.com/s/player/ https://matomo.inclusion.beta.gouv.fr/; img-src 'self' data: cellar-c2.services.clever-cloud.com https://matomo.inclusion.beta.gouv.fr/; frame-src 'self' https://tally.so https://www.youtube.com/embed/; default-src 'self'; font-src 'self' https://fonts.gstatic.com/ data:; style-src 'self' https://fonts.googleapis.com 'unsafe-inline'
Other Info style-src includes unsafe-inline.
Instances 1
Solution
Ensure that your web server, application server, load balancer, etc. is properly configured to set the Content-Security-Policy header.
Reference https://www.w3.org/TR/CSP/
https://caniuse.com/#search=content+security+policy
https://content-security-policy.com/
https://github.com/HtmlUnit/htmlunit-csp
https://developers.google.com/web/fundamentals/security/csp#policy_applies_to_a_wide_variety_of_resources
CWE Id 693
WASC Id 15
Plugin Id 10055
Low
Cookie No HttpOnly Flag
Description
A cookie has been set without the HttpOnly flag, which means that the cookie can be accessed by JavaScript. If a malicious script can be run on this page then the cookie will be accessible and can be transmitted to another site. If this is a session cookie then session hijacking may be possible.
URL https://forum.inclusion.beta.gouv.fr
Method GET
Parameter csrftoken
Attack
Evidence Set-Cookie: csrftoken
Other Info
Instances 1
Solution
Ensure that the HttpOnly flag is set for all cookies.
Reference https://owasp.org/www-community/HttpOnly
CWE Id 1004
WASC Id 13
Plugin Id 10010
Low
Insufficient Site Isolation Against Spectre Vulnerability
Description
Cross-Origin-Resource-Policy header is an opt-in header designed to counter side-channels attacks like Spectre. Resource should be specifically set as shareable amongst different origins.
URL https://forum.inclusion.beta.gouv.fr
Method GET
Parameter Cross-Origin-Resource-Policy
Attack
Evidence
Other Info
URL https://forum.inclusion.beta.gouv.fr
Method GET
Parameter Cross-Origin-Embedder-Policy
Attack
Evidence
Other Info
Instances 2
Solution
Ensure that the application/web server sets the Cross-Origin-Resource-Policy header appropriately, and that it sets the Cross-Origin-Resource-Policy header to 'same-origin' for all web pages.

'same-site' is considered as less secured and should be avoided.

If resources must be shared, set the header to 'cross-origin'.

If possible, ensure that the end user uses a standards-compliant and modern web browser that supports the Cross-Origin-Resource-Policy header (https://caniuse.com/mdn-http_headers_cross-origin-resource-policy).
Reference https://developer.mozilla.org/en-US/docs/Web/HTTP/Cross-Origin_Resource_Policy
CWE Id 693
WASC Id 14
Plugin Id 90004
Low
Strict-Transport-Security Header Not Set
Description
HTTP Strict Transport Security (HSTS) is a web security policy mechanism whereby a web server declares that complying user agents (such as a web browser) are to interact with it using only secure HTTPS connections (i.e. HTTP layered over TLS/SSL). HSTS is an IETF standards track protocol and is specified in RFC 6797.
URL https://forum.inclusion.beta.gouv.fr
Method GET
Parameter
Attack
Evidence
Other Info
URL https://forum.inclusion.beta.gouv.fr/robots.txt
Method GET
Parameter
Attack
Evidence
Other Info
URL https://forum.inclusion.beta.gouv.fr/sitemap.xml
Method GET
Parameter
Attack
Evidence
Other Info
Instances 3
Solution
Ensure that your web server, application server, load balancer, etc. is configured to enforce Strict-Transport-Security.
Reference https://cheatsheetseries.owasp.org/cheatsheets/HTTP_Strict_Transport_Security_Cheat_Sheet.html
https://owasp.org/www-community/Security_Headers
https://en.wikipedia.org/wiki/HTTP_Strict_Transport_Security
https://caniuse.com/stricttransportsecurity
https://datatracker.ietf.org/doc/html/rfc6797
CWE Id 319
WASC Id 15
Plugin Id 10035
Informational
Base64 Disclosure
Description
Base64 encoded data was disclosed by the application/web server. Note: in the interests of performance not all base64 strings in the response were analyzed individually, the entire response should be looked at by the analyst/security team/developer(s).
URL https://forum.inclusion.beta.gouv.fr
Method GET
Parameter
Attack
Evidence wrH8pkxfxMSqq7JPksbXYCuNhEIF8abG
Other Info ±��L_�Ī��O���`+��B��
Instances 1
Solution
Manually confirm that the Base64 data does not leak sensitive information, and that the data cannot be aggregated/used to exploit other vulnerabilities.
Reference https://projects.webappsec.org/w/page/13246936/Information%20Leakage
CWE Id 319
WASC Id 13
Plugin Id 10094
Informational
Modern Web Application
Description
The application appears to be a modern web application. If you need to explore it automatically then the Ajax Spider may well be more effective than the standard one.
URL https://forum.inclusion.beta.gouv.fr
Method GET
Parameter
Attack
Evidence <a hx-get="/forum/espace-d%C3%A9changes-113/topic/rex-de-stage-formation-cip-3213/showmore/topic" id="showmoretopic-button3213" hx-target="#showmoretopicsarea3213" hx-swap="outerHTML" class="btn btn-link p-0 mb-3 mt-n3 matomo-event" data-matomo-category="engagement" data-matomo-action="showmore" data-matomo-option="topic">+ voir la suite</a>
Other Info Links have been found that do not have traditional href attributes, which is an indication that this is a modern web application.
Instances 1
Solution
This is an informational alert and so no changes are required.
Reference
CWE Id
WASC Id
Plugin Id 10109
Informational
Re-examine Cache-control Directives
Description
The cache-control header has not been set properly or is missing, allowing the browser and proxies to cache content. For static assets like css, js, or image files this might be intended, however, the resources should be reviewed to ensure that no sensitive content will be cached.
URL https://forum.inclusion.beta.gouv.fr
Method GET
Parameter cache-control
Attack
Evidence
Other Info
Instances 1
Solution
For secure content, ensure the cache-control HTTP header is set with "no-cache, no-store, must-revalidate". If an asset should be cached consider setting the directives "public, max-age, immutable".
Reference https://cheatsheetseries.owasp.org/cheatsheets/Session_Management_Cheat_Sheet.html#web-content-caching
https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Cache-Control
https://grayduck.mn/2021/09/13/cache-control-recommendations/
CWE Id 525
WASC Id 13
Plugin Id 10015
Informational
Sec-Fetch-Dest Header is Missing
Description
Specifies how and where the data would be used. For instance, if the value is audio, then the requested resource must be audio data and not any other type of resource.
URL https://forum.inclusion.beta.gouv.fr
Method GET
Parameter Sec-Fetch-Dest
Attack
Evidence
Other Info
URL https://forum.inclusion.beta.gouv.fr/robots.txt
Method GET
Parameter Sec-Fetch-Dest
Attack
Evidence
Other Info
URL https://forum.inclusion.beta.gouv.fr/sitemap.xml
Method GET
Parameter Sec-Fetch-Dest
Attack
Evidence
Other Info
Instances 3
Solution
Ensure that Sec-Fetch-Dest header is included in request headers.
Reference https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Sec-Fetch-Dest
CWE Id 352
WASC Id 9
Plugin Id 90005
Informational
Sec-Fetch-Mode Header is Missing
Description
Allows to differentiate between requests for navigating between HTML pages and requests for loading resources like images, audio etc.
URL https://forum.inclusion.beta.gouv.fr
Method GET
Parameter Sec-Fetch-Mode
Attack
Evidence
Other Info
URL https://forum.inclusion.beta.gouv.fr/robots.txt
Method GET
Parameter Sec-Fetch-Mode
Attack
Evidence
Other Info
URL https://forum.inclusion.beta.gouv.fr/sitemap.xml
Method GET
Parameter Sec-Fetch-Mode
Attack
Evidence
Other Info
Instances 3
Solution
Ensure that Sec-Fetch-Mode header is included in request headers.
Reference https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Sec-Fetch-Mode
CWE Id 352
WASC Id 9
Plugin Id 90005
Informational
Sec-Fetch-Site Header is Missing
Description
Specifies the relationship between request initiator's origin and target's origin.
URL https://forum.inclusion.beta.gouv.fr
Method GET
Parameter Sec-Fetch-Site
Attack
Evidence
Other Info
URL https://forum.inclusion.beta.gouv.fr/robots.txt
Method GET
Parameter Sec-Fetch-Site
Attack
Evidence
Other Info
URL https://forum.inclusion.beta.gouv.fr/sitemap.xml
Method GET
Parameter Sec-Fetch-Site
Attack
Evidence
Other Info
Instances 3
Solution
Ensure that Sec-Fetch-Site header is included in request headers.
Reference https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Sec-Fetch-Site
CWE Id 352
WASC Id 9
Plugin Id 90005
Informational
Sec-Fetch-User Header is Missing
Description
Specifies if a navigation request was initiated by a user.
URL https://forum.inclusion.beta.gouv.fr
Method GET
Parameter Sec-Fetch-User
Attack
Evidence
Other Info
URL https://forum.inclusion.beta.gouv.fr/robots.txt
Method GET
Parameter Sec-Fetch-User
Attack
Evidence
Other Info
URL https://forum.inclusion.beta.gouv.fr/sitemap.xml
Method GET
Parameter Sec-Fetch-User
Attack
Evidence
Other Info
Instances 3
Solution
Ensure that Sec-Fetch-User header is included in user initiated requests.
Reference https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Sec-Fetch-User
CWE Id 352
WASC Id 9
Plugin Id 90005
Informational
Session Management Response Identified
Description
The given response has been identified as containing a session management token. The 'Other Info' field contains a set of header tokens that can be used in the Header Based Session Management Method. If the request is in a context which has a Session Management Method set to "Auto-Detect" then this rule will change the session management to use the tokens identified.
URL https://forum.inclusion.beta.gouv.fr
Method GET
Parameter csrftoken
Attack
Evidence csrftoken
Other Info cookie:csrftoken cookie:sessionid
Instances 1
Solution
This is an informational alert rather than a vulnerability and so there is nothing to fix.
Reference https://www.zaproxy.org/docs/desktop/addons/authentication-helper/session-mgmt-id
CWE Id
WASC Id
Plugin Id 10112
Informational
Storable and Cacheable Content
Description
The response contents are storable by caching components such as proxy servers, and may be retrieved directly from the cache, rather than from the origin server by the caching servers, in response to similar requests from other users. If the response data is sensitive, personal or user-specific, this may result in sensitive information being leaked. In some cases, this may even result in a user gaining complete control of the session of another user, depending on the configuration of the caching components in use in their environment. This is primarily an issue where "shared" caching servers such as "proxy" caches are configured on the local network. This configuration is typically found in corporate or educational environments, for instance.
URL https://forum.inclusion.beta.gouv.fr
Method GET
Parameter
Attack
Evidence
Other Info In the absence of an explicitly specified caching lifetime directive in the response, a liberal lifetime heuristic of 1 year was assumed. This is permitted by rfc7234.
URL https://forum.inclusion.beta.gouv.fr/robots.txt
Method GET
Parameter
Attack
Evidence
Other Info In the absence of an explicitly specified caching lifetime directive in the response, a liberal lifetime heuristic of 1 year was assumed. This is permitted by rfc7234.
URL https://forum.inclusion.beta.gouv.fr/sitemap.xml
Method GET
Parameter
Attack
Evidence
Other Info In the absence of an explicitly specified caching lifetime directive in the response, a liberal lifetime heuristic of 1 year was assumed. This is permitted by rfc7234.
Instances 3
Solution
Validate that the response does not contain sensitive, personal or user-specific information. If it does, consider the use of the following HTTP response headers, to limit, or prevent the content being stored and retrieved from the cache by another user:

Cache-Control: no-cache, no-store, must-revalidate, private

Pragma: no-cache

Expires: 0

This configuration directs both HTTP 1.0 and HTTP 1.1 compliant caching servers to not store the response, and to not retrieve the response (without validation) from the cache, in response to a similar request.
Reference https://datatracker.ietf.org/doc/html/rfc7234
https://datatracker.ietf.org/doc/html/rfc7231
https://www.w3.org/Protocols/rfc2616/rfc2616-sec13.html
CWE Id 524
WASC Id 13
Plugin Id 10049

Sequence Details

With the associated active scan results.