ZAP Scanning Report

Site: https://contrat.apprentissage.beta.gouv.fr

Generated on Sun, 22 Jun 2025 03:00:39

ZAP Version: 2.16.1

ZAP by Checkmarx

Summary of Alerts

Risk Level Number of Alerts
High
0
Medium
5
Low
4
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 3
CSP: Wildcard Directive Medium 3
CSP: script-src unsafe-inline Medium 3
CSP: style-src unsafe-inline Medium 3
Content Security Policy (CSP) Header Not Set Medium 1
CSP: Notices Low 3
Insufficient Site Isolation Against Spectre Vulnerability Low 11
Permissions Policy Header Not Set Low 10
Timestamp Disclosure - Unix Low 1
Information Disclosure - Suspicious Comments Informational 3
Modern Web Application Informational 4
Re-examine Cache-control Directives Informational 5
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
Storable and Cacheable Content Informational 7
Storable but Non-Cacheable Content Informational 4

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://contrat.apprentissage.beta.gouv.fr
Method GET
Parameter Content-Security-Policy
Attack
Evidence default-src 'self' https://plausible.io; base-uri 'self'; block-all-mixed-content; font-src 'self' https: data:; frame-ancestors 'self'; frame-src 'self' https://plausible.io; img-src 'self' https://www.notion.so data: ; object-src 'none'; script-src 'self' https://plausible.io 'unsafe-inline' ; script-src-attr 'none'; style-src 'self' https: https: *.plausible.io 'unsafe-inline'; connect-src 'self' https://geo.api.gouv.fr/ https://plausible.io https://sentry.apprentissage.beta.gouv.fr ; upgrade-insecure-requests;
Other Info The directive(s): form-action is/are among the directives that do not fallback to default-src.
URL https://contrat.apprentissage.beta.gouv.fr/
Method GET
Parameter Content-Security-Policy
Attack
Evidence default-src 'self' https://plausible.io; base-uri 'self'; block-all-mixed-content; font-src 'self' https: data:; frame-ancestors 'self'; frame-src 'self' https://plausible.io; img-src 'self' https://www.notion.so data: ; object-src 'none'; script-src 'self' https://plausible.io 'unsafe-inline' ; script-src-attr 'none'; style-src 'self' https: https: *.plausible.io 'unsafe-inline'; connect-src 'self' https://geo.api.gouv.fr/ https://plausible.io https://sentry.apprentissage.beta.gouv.fr ; upgrade-insecure-requests;
Other Info The directive(s): form-action is/are among the directives that do not fallback to default-src.
URL https://contrat.apprentissage.beta.gouv.fr/accessibilite
Method GET
Parameter Content-Security-Policy
Attack
Evidence default-src 'self' https://plausible.io; base-uri 'self'; block-all-mixed-content; font-src 'self' https: data:; frame-ancestors 'self'; frame-src 'self' https://plausible.io; img-src 'self' https://www.notion.so data: ; object-src 'none'; script-src 'self' https://plausible.io 'unsafe-inline' ; script-src-attr 'none'; style-src 'self' https: https: *.plausible.io 'unsafe-inline'; connect-src 'self' https://geo.api.gouv.fr/ https://plausible.io https://sentry.apprentissage.beta.gouv.fr ; upgrade-insecure-requests;
Other Info The directive(s): form-action is/are among the directives that do not fallback to default-src.
Instances 3
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: Wildcard Directive
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://contrat.apprentissage.beta.gouv.fr
Method GET
Parameter Content-Security-Policy
Attack
Evidence default-src 'self' https://plausible.io; base-uri 'self'; block-all-mixed-content; font-src 'self' https: data:; frame-ancestors 'self'; frame-src 'self' https://plausible.io; img-src 'self' https://www.notion.so data: ; object-src 'none'; script-src 'self' https://plausible.io 'unsafe-inline' ; script-src-attr 'none'; style-src 'self' https: https: *.plausible.io 'unsafe-inline'; connect-src 'self' https://geo.api.gouv.fr/ https://plausible.io https://sentry.apprentissage.beta.gouv.fr ; upgrade-insecure-requests;
Other Info The following directives either allow wildcard sources (or ancestors), are not defined, or are overly broadly defined: style-src, font-src
URL https://contrat.apprentissage.beta.gouv.fr/
Method GET
Parameter Content-Security-Policy
Attack
Evidence default-src 'self' https://plausible.io; base-uri 'self'; block-all-mixed-content; font-src 'self' https: data:; frame-ancestors 'self'; frame-src 'self' https://plausible.io; img-src 'self' https://www.notion.so data: ; object-src 'none'; script-src 'self' https://plausible.io 'unsafe-inline' ; script-src-attr 'none'; style-src 'self' https: https: *.plausible.io 'unsafe-inline'; connect-src 'self' https://geo.api.gouv.fr/ https://plausible.io https://sentry.apprentissage.beta.gouv.fr ; upgrade-insecure-requests;
Other Info The following directives either allow wildcard sources (or ancestors), are not defined, or are overly broadly defined: style-src, font-src
URL https://contrat.apprentissage.beta.gouv.fr/accessibilite
Method GET
Parameter Content-Security-Policy
Attack
Evidence default-src 'self' https://plausible.io; base-uri 'self'; block-all-mixed-content; font-src 'self' https: data:; frame-ancestors 'self'; frame-src 'self' https://plausible.io; img-src 'self' https://www.notion.so data: ; object-src 'none'; script-src 'self' https://plausible.io 'unsafe-inline' ; script-src-attr 'none'; style-src 'self' https: https: *.plausible.io 'unsafe-inline'; connect-src 'self' https://geo.api.gouv.fr/ https://plausible.io https://sentry.apprentissage.beta.gouv.fr ; upgrade-insecure-requests;
Other Info The following directives either allow wildcard sources (or ancestors), are not defined, or are overly broadly defined: style-src, font-src
Instances 3
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: script-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://contrat.apprentissage.beta.gouv.fr
Method GET
Parameter Content-Security-Policy
Attack
Evidence default-src 'self' https://plausible.io; base-uri 'self'; block-all-mixed-content; font-src 'self' https: data:; frame-ancestors 'self'; frame-src 'self' https://plausible.io; img-src 'self' https://www.notion.so data: ; object-src 'none'; script-src 'self' https://plausible.io 'unsafe-inline' ; script-src-attr 'none'; style-src 'self' https: https: *.plausible.io 'unsafe-inline'; connect-src 'self' https://geo.api.gouv.fr/ https://plausible.io https://sentry.apprentissage.beta.gouv.fr ; upgrade-insecure-requests;
Other Info script-src includes unsafe-inline.
URL https://contrat.apprentissage.beta.gouv.fr/
Method GET
Parameter Content-Security-Policy
Attack
Evidence default-src 'self' https://plausible.io; base-uri 'self'; block-all-mixed-content; font-src 'self' https: data:; frame-ancestors 'self'; frame-src 'self' https://plausible.io; img-src 'self' https://www.notion.so data: ; object-src 'none'; script-src 'self' https://plausible.io 'unsafe-inline' ; script-src-attr 'none'; style-src 'self' https: https: *.plausible.io 'unsafe-inline'; connect-src 'self' https://geo.api.gouv.fr/ https://plausible.io https://sentry.apprentissage.beta.gouv.fr ; upgrade-insecure-requests;
Other Info script-src includes unsafe-inline.
URL https://contrat.apprentissage.beta.gouv.fr/accessibilite
Method GET
Parameter Content-Security-Policy
Attack
Evidence default-src 'self' https://plausible.io; base-uri 'self'; block-all-mixed-content; font-src 'self' https: data:; frame-ancestors 'self'; frame-src 'self' https://plausible.io; img-src 'self' https://www.notion.so data: ; object-src 'none'; script-src 'self' https://plausible.io 'unsafe-inline' ; script-src-attr 'none'; style-src 'self' https: https: *.plausible.io 'unsafe-inline'; connect-src 'self' https://geo.api.gouv.fr/ https://plausible.io https://sentry.apprentissage.beta.gouv.fr ; upgrade-insecure-requests;
Other Info script-src includes unsafe-inline.
Instances 3
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://contrat.apprentissage.beta.gouv.fr
Method GET
Parameter Content-Security-Policy
Attack
Evidence default-src 'self' https://plausible.io; base-uri 'self'; block-all-mixed-content; font-src 'self' https: data:; frame-ancestors 'self'; frame-src 'self' https://plausible.io; img-src 'self' https://www.notion.so data: ; object-src 'none'; script-src 'self' https://plausible.io 'unsafe-inline' ; script-src-attr 'none'; style-src 'self' https: https: *.plausible.io 'unsafe-inline'; connect-src 'self' https://geo.api.gouv.fr/ https://plausible.io https://sentry.apprentissage.beta.gouv.fr ; upgrade-insecure-requests;
Other Info style-src includes unsafe-inline.
URL https://contrat.apprentissage.beta.gouv.fr/
Method GET
Parameter Content-Security-Policy
Attack
Evidence default-src 'self' https://plausible.io; base-uri 'self'; block-all-mixed-content; font-src 'self' https: data:; frame-ancestors 'self'; frame-src 'self' https://plausible.io; img-src 'self' https://www.notion.so data: ; object-src 'none'; script-src 'self' https://plausible.io 'unsafe-inline' ; script-src-attr 'none'; style-src 'self' https: https: *.plausible.io 'unsafe-inline'; connect-src 'self' https://geo.api.gouv.fr/ https://plausible.io https://sentry.apprentissage.beta.gouv.fr ; upgrade-insecure-requests;
Other Info style-src includes unsafe-inline.
URL https://contrat.apprentissage.beta.gouv.fr/accessibilite
Method GET
Parameter Content-Security-Policy
Attack
Evidence default-src 'self' https://plausible.io; base-uri 'self'; block-all-mixed-content; font-src 'self' https: data:; frame-ancestors 'self'; frame-src 'self' https://plausible.io; img-src 'self' https://www.notion.so data: ; object-src 'none'; script-src 'self' https://plausible.io 'unsafe-inline' ; script-src-attr 'none'; style-src 'self' https: https: *.plausible.io 'unsafe-inline'; connect-src 'self' https://geo.api.gouv.fr/ https://plausible.io https://sentry.apprentissage.beta.gouv.fr ; upgrade-insecure-requests;
Other Info style-src includes unsafe-inline.
Instances 3
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
Content Security Policy (CSP) Header Not Set
Description
Content Security Policy (CSP) is an added layer of security that helps to detect and mitigate certain types of attacks, including 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://contrat.apprentissage.beta.gouv.fr/robots.txt
Method GET
Parameter
Attack
Evidence
Other Info
Instances 1
Solution
Ensure that your web server, application server, load balancer, etc. is configured to set the Content-Security-Policy header.
Reference https://developer.mozilla.org/en-US/docs/Web/Security/CSP/Introducing_Content_Security_Policy
https://cheatsheetseries.owasp.org/cheatsheets/Content_Security_Policy_Cheat_Sheet.html
https://www.w3.org/TR/CSP/
https://w3c.github.io/webappsec-csp/
https://web.dev/articles/csp
https://caniuse.com/#feat=contentsecuritypolicy
https://content-security-policy.com/
CWE Id 693
WASC Id 15
Plugin Id 10038
Low
CSP: Notices
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://contrat.apprentissage.beta.gouv.fr
Method GET
Parameter Content-Security-Policy
Attack
Evidence default-src 'self' https://plausible.io; base-uri 'self'; block-all-mixed-content; font-src 'self' https: data:; frame-ancestors 'self'; frame-src 'self' https://plausible.io; img-src 'self' https://www.notion.so data: ; object-src 'none'; script-src 'self' https://plausible.io 'unsafe-inline' ; script-src-attr 'none'; style-src 'self' https: https: *.plausible.io 'unsafe-inline'; connect-src 'self' https://geo.api.gouv.fr/ https://plausible.io https://sentry.apprentissage.beta.gouv.fr ; upgrade-insecure-requests;
Other Info Warnings: Duplicate scheme https:
URL https://contrat.apprentissage.beta.gouv.fr/
Method GET
Parameter Content-Security-Policy
Attack
Evidence default-src 'self' https://plausible.io; base-uri 'self'; block-all-mixed-content; font-src 'self' https: data:; frame-ancestors 'self'; frame-src 'self' https://plausible.io; img-src 'self' https://www.notion.so data: ; object-src 'none'; script-src 'self' https://plausible.io 'unsafe-inline' ; script-src-attr 'none'; style-src 'self' https: https: *.plausible.io 'unsafe-inline'; connect-src 'self' https://geo.api.gouv.fr/ https://plausible.io https://sentry.apprentissage.beta.gouv.fr ; upgrade-insecure-requests;
Other Info Warnings: Duplicate scheme https:
URL https://contrat.apprentissage.beta.gouv.fr/accessibilite
Method GET
Parameter Content-Security-Policy
Attack
Evidence default-src 'self' https://plausible.io; base-uri 'self'; block-all-mixed-content; font-src 'self' https: data:; frame-ancestors 'self'; frame-src 'self' https://plausible.io; img-src 'self' https://www.notion.so data: ; object-src 'none'; script-src 'self' https://plausible.io 'unsafe-inline' ; script-src-attr 'none'; style-src 'self' https: https: *.plausible.io 'unsafe-inline'; connect-src 'self' https://geo.api.gouv.fr/ https://plausible.io https://sentry.apprentissage.beta.gouv.fr ; upgrade-insecure-requests;
Other Info Warnings: Duplicate scheme https:
Instances 3
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
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://contrat.apprentissage.beta.gouv.fr
Method GET
Parameter Cross-Origin-Resource-Policy
Attack
Evidence
Other Info
URL https://contrat.apprentissage.beta.gouv.fr/_next/static/chunks/main-app-b37996f126136d01.js
Method GET
Parameter Cross-Origin-Resource-Policy
Attack
Evidence
Other Info
URL https://contrat.apprentissage.beta.gouv.fr/_next/static/chunks/webpack-6e8660b2293845fc.js
Method GET
Parameter Cross-Origin-Resource-Policy
Attack
Evidence
Other Info
URL https://contrat.apprentissage.beta.gouv.fr/apple-touch-icon.png
Method GET
Parameter Cross-Origin-Resource-Policy
Attack
Evidence
Other Info
URL https://contrat.apprentissage.beta.gouv.fr/favicon.ico
Method GET
Parameter Cross-Origin-Resource-Policy
Attack
Evidence
Other Info
URL https://contrat.apprentissage.beta.gouv.fr/favicon.svg
Method GET
Parameter Cross-Origin-Resource-Policy
Attack
Evidence
Other Info
URL https://contrat.apprentissage.beta.gouv.fr/sitemap.xml
Method GET
Parameter Cross-Origin-Resource-Policy
Attack
Evidence
Other Info
URL https://contrat.apprentissage.beta.gouv.fr
Method GET
Parameter Cross-Origin-Embedder-Policy
Attack
Evidence
Other Info
URL https://contrat.apprentissage.beta.gouv.fr/sitemap.xml
Method GET
Parameter Cross-Origin-Embedder-Policy
Attack
Evidence
Other Info
URL https://contrat.apprentissage.beta.gouv.fr
Method GET
Parameter Cross-Origin-Opener-Policy
Attack
Evidence
Other Info
URL https://contrat.apprentissage.beta.gouv.fr/sitemap.xml
Method GET
Parameter Cross-Origin-Opener-Policy
Attack
Evidence
Other Info
Instances 11
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
Permissions Policy Header Not Set
Description
Permissions Policy Header is an added layer of security that helps to restrict from unauthorized access or usage of browser/client features by web resources. This policy ensures the user privacy by limiting or specifying the features of the browsers can be used by the web resources. Permissions Policy provides a set of standard HTTP headers that allow website owners to limit which features of browsers can be used by the page such as camera, microphone, location, full screen etc.
URL https://contrat.apprentissage.beta.gouv.fr
Method GET
Parameter
Attack
Evidence
Other Info
URL https://contrat.apprentissage.beta.gouv.fr/
Method GET
Parameter
Attack
Evidence
Other Info
URL https://contrat.apprentissage.beta.gouv.fr/_next/static/chunks/618f8807-241c94d849a8418e.js
Method GET
Parameter
Attack
Evidence
Other Info
URL https://contrat.apprentissage.beta.gouv.fr/_next/static/chunks/713-5a9b2d2ddd57627e.js
Method GET
Parameter
Attack
Evidence
Other Info
URL https://contrat.apprentissage.beta.gouv.fr/_next/static/chunks/main-app-b37996f126136d01.js
Method GET
Parameter
Attack
Evidence
Other Info
URL https://contrat.apprentissage.beta.gouv.fr/_next/static/chunks/polyfills-c67a75d1b6f99dc8.js
Method GET
Parameter
Attack
Evidence
Other Info
URL https://contrat.apprentissage.beta.gouv.fr/_next/static/chunks/webpack-6e8660b2293845fc.js
Method GET
Parameter
Attack
Evidence
Other Info
URL https://contrat.apprentissage.beta.gouv.fr/accessibilite
Method GET
Parameter
Attack
Evidence
Other Info
URL https://contrat.apprentissage.beta.gouv.fr/cerfa
Method GET
Parameter
Attack
Evidence
Other Info
URL https://contrat.apprentissage.beta.gouv.fr/robots.txt
Method GET
Parameter
Attack
Evidence
Other Info
Instances 10
Solution
Ensure that your web server, application server, load balancer, etc. is configured to set the Permissions-Policy header.
Reference https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Permissions-Policy
https://developer.chrome.com/blog/feature-policy/
https://scotthelme.co.uk/a-new-security-header-feature-policy/
https://w3c.github.io/webappsec-feature-policy/
https://www.smashingmagazine.com/2018/12/feature-policy/
CWE Id 693
WASC Id 15
Plugin Id 10063
Low
Timestamp Disclosure - Unix
Description
A timestamp was disclosed by the application/web server. - Unix
URL https://contrat.apprentissage.beta.gouv.fr/_next/static/chunks/713-5a9b2d2ddd57627e.js
Method GET
Parameter
Attack
Evidence 1540483477
Other Info 1540483477, which evaluates to: 2018-10-25 16:04:37.
Instances 1
Solution
Manually confirm that the timestamp data is not sensitive, and that the data cannot be aggregated to disclose exploitable patterns.
Reference https://cwe.mitre.org/data/definitions/200.html
CWE Id 497
WASC Id 13
Plugin Id 10096
Informational
Information Disclosure - Suspicious Comments
Description
The response appears to contain suspicious comments which may help an attacker.
URL https://contrat.apprentissage.beta.gouv.fr/_next/static/chunks/618f8807-241c94d849a8418e.js
Method GET
Parameter
Attack
Evidence Db
Other Info The following pattern was used: \bDB\b and was detected in likely comment: "//reactjs.org/docs/error-decoder.html?invariant="+n,a=1;a<arguments.length;a++)l+="&args[]="+encodeURIComponent(arguments[a]);re", see evidence field for the suspicious comment/snippet.
URL https://contrat.apprentissage.beta.gouv.fr/_next/static/chunks/713-5a9b2d2ddd57627e.js
Method GET
Parameter
Attack
Evidence user
Other Info The following pattern was used: \bUSER\b and was detected in likely comment: "//${l}${t&&a?`:${a}`:""}@${r}${i?`:${i}`:""}/${n?`${n}/`:n}${o}`}function dsnFromString(e){let t=z.exec(e);if(!t){console.error(", see evidence field for the suspicious comment/snippet.
URL https://contrat.apprentissage.beta.gouv.fr/_next/static/chunks/polyfills-c67a75d1b6f99dc8.js
Method GET
Parameter
Attack
Evidence query
Other Info The following pattern was used: \bQUERY\b and was detected in likely comment: "//a"),e=t.searchParams,r="";return t.pathname="c%20d",e.forEach(function(t,n){e.delete("b"),r+=n+t}),!e.sort||"http://a/c%20d?a=", see evidence field for the suspicious comment/snippet.
Instances 3
Solution
Remove all comments that return information that may help an attacker and fix any underlying problems they refer to.
Reference
CWE Id 615
WASC Id 13
Plugin Id 10027
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://contrat.apprentissage.beta.gouv.fr
Method GET
Parameter
Attack
Evidence <script src="/_next/static/chunks/618f8807-241c94d849a8418e.js" async="" crossorigin=""></script>
Other Info No links have been found while there are scripts, which is an indication that this is a modern web application.
URL https://contrat.apprentissage.beta.gouv.fr/
Method GET
Parameter
Attack
Evidence <script src="/_next/static/chunks/618f8807-241c94d849a8418e.js" async="" crossorigin=""></script>
Other Info No links have been found while there are scripts, which is an indication that this is a modern web application.
URL https://contrat.apprentissage.beta.gouv.fr/accessibilite
Method GET
Parameter
Attack
Evidence <script src="/_next/static/chunks/618f8807-241c94d849a8418e.js" async="" crossorigin=""></script>
Other Info No links have been found while there are scripts, which is an indication that this is a modern web application.
URL https://contrat.apprentissage.beta.gouv.fr/cerfa
Method GET
Parameter
Attack
Evidence <script src="/_next/static/chunks/618f8807-241c94d849a8418e.js" async="" crossorigin=""></script>
Other Info No links have been found while there are scripts, which is an indication that this is a modern web application.
Instances 4
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://contrat.apprentissage.beta.gouv.fr
Method GET
Parameter cache-control
Attack
Evidence s-maxage=31536000, stale-while-revalidate
Other Info
URL https://contrat.apprentissage.beta.gouv.fr/
Method GET
Parameter cache-control
Attack
Evidence s-maxage=31536000, stale-while-revalidate
Other Info
URL https://contrat.apprentissage.beta.gouv.fr/accessibilite
Method GET
Parameter cache-control
Attack
Evidence s-maxage=31536000, stale-while-revalidate
Other Info
URL https://contrat.apprentissage.beta.gouv.fr/cerfa
Method GET
Parameter cache-control
Attack
Evidence s-maxage=31536000, stale-while-revalidate
Other Info
URL https://contrat.apprentissage.beta.gouv.fr/sitemap.xml
Method GET
Parameter cache-control
Attack
Evidence public, max-age=0, must-revalidate
Other Info
Instances 5
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://contrat.apprentissage.beta.gouv.fr/_next/static/chunks/main-app-b37996f126136d01.js
Method GET
Parameter Sec-Fetch-Dest
Attack
Evidence
Other Info
URL https://contrat.apprentissage.beta.gouv.fr/_next/static/chunks/webpack-6e8660b2293845fc.js
Method GET
Parameter Sec-Fetch-Dest
Attack
Evidence
Other Info
URL https://contrat.apprentissage.beta.gouv.fr/robots.txt
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://contrat.apprentissage.beta.gouv.fr/_next/static/chunks/main-app-b37996f126136d01.js
Method GET
Parameter Sec-Fetch-Mode
Attack
Evidence
Other Info
URL https://contrat.apprentissage.beta.gouv.fr/_next/static/chunks/webpack-6e8660b2293845fc.js
Method GET
Parameter Sec-Fetch-Mode
Attack
Evidence
Other Info
URL https://contrat.apprentissage.beta.gouv.fr/robots.txt
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://contrat.apprentissage.beta.gouv.fr/_next/static/chunks/main-app-b37996f126136d01.js
Method GET
Parameter Sec-Fetch-Site
Attack
Evidence
Other Info
URL https://contrat.apprentissage.beta.gouv.fr/_next/static/chunks/webpack-6e8660b2293845fc.js
Method GET
Parameter Sec-Fetch-Site
Attack
Evidence
Other Info
URL https://contrat.apprentissage.beta.gouv.fr/robots.txt
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://contrat.apprentissage.beta.gouv.fr/_next/static/chunks/main-app-b37996f126136d01.js
Method GET
Parameter Sec-Fetch-User
Attack
Evidence
Other Info
URL https://contrat.apprentissage.beta.gouv.fr/_next/static/chunks/webpack-6e8660b2293845fc.js
Method GET
Parameter Sec-Fetch-User
Attack
Evidence
Other Info
URL https://contrat.apprentissage.beta.gouv.fr/robots.txt
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
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://contrat.apprentissage.beta.gouv.fr
Method GET
Parameter
Attack
Evidence s-maxage=31536000
Other Info
URL https://contrat.apprentissage.beta.gouv.fr/
Method GET
Parameter
Attack
Evidence s-maxage=31536000
Other Info
URL https://contrat.apprentissage.beta.gouv.fr/_next/static/chunks/main-app-b37996f126136d01.js
Method GET
Parameter
Attack
Evidence max-age=31536000
Other Info
URL https://contrat.apprentissage.beta.gouv.fr/_next/static/chunks/webpack-6e8660b2293845fc.js
Method GET
Parameter
Attack
Evidence max-age=31536000
Other Info
URL https://contrat.apprentissage.beta.gouv.fr/accessibilite
Method GET
Parameter
Attack
Evidence s-maxage=31536000
Other Info
URL https://contrat.apprentissage.beta.gouv.fr/cerfa
Method GET
Parameter
Attack
Evidence s-maxage=31536000
Other Info
URL https://contrat.apprentissage.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.
Instances 7
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
Informational
Storable but Non-Cacheable Content
Description
The response contents are storable by caching components such as proxy servers, but will not be retrieved directly from the cache, without validating the request upstream, in response to similar requests from other users.
URL https://contrat.apprentissage.beta.gouv.fr/apple-touch-icon.png
Method GET
Parameter
Attack
Evidence max-age=0
Other Info
URL https://contrat.apprentissage.beta.gouv.fr/favicon.ico
Method GET
Parameter
Attack
Evidence max-age=0
Other Info
URL https://contrat.apprentissage.beta.gouv.fr/favicon.svg
Method GET
Parameter
Attack
Evidence max-age=0
Other Info
URL https://contrat.apprentissage.beta.gouv.fr/sitemap.xml
Method GET
Parameter
Attack
Evidence max-age=0
Other Info
Instances 4
Solution
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.