Skip to content

Cookie Consent Detection

ID: cookie-consent-detection

Severity: info

Author: rxerium

Tags: headless,cookie,detect

This template detects the presence of cookie consent forms

id: cookie-consent-detection
info:
name: Cookie Consent Detection
author: rxerium
severity: info
description: |
This template detects the presence of cookie consent forms
tags: headless,cookie,detect
headless:
- steps:
- action: navigate
args:
url: "{{BaseURL}}"
- action: waitload
matchers-condition: and
matchers:
- type: word
name: keyword
words:
- 'cookie-consent'
- 'cookie-popup'
- 'cookie-notice'
- 'We use cookies'
- 'Manage privacy preferences'
- 'Accept all cookies'
condition: or
- type: status
status:
- 200
# digest: 4a0a0047304502204553257af99f61e82b6c297bb30dea8d81e5e1965306f870e615697bfa3fdf45022100e91cf7481b7f849de35e88cf17bb58ce1611ead63c9e3b04e6320d7c0789ad33:922c64590222798bb761d5b6d8e72950

This template is used to detect vulnerabilities in web applications. It can be used with the Nuclei tool to scan for specific patterns or behaviors.

Terminal window
$ nuclei -u "URL" -t "headless/cookie-consent-detection.yaml"

View on Github