-
Notifications
You must be signed in to change notification settings - Fork 3.4k
http/misconfiguration: add GraphiQL exposure template #15615
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
DhiyaneshGeek
merged 4 commits into
projectdiscovery:main
from
vincentayorinde:feat/graphql-graphiql-exposure
Mar 17, 2026
Merged
Changes from 1 commit
Commits
Show all changes
4 commits
Select commit
Hold shift + click to select a range
5711ad4
http/misconfiguration: add GraphiQL exposure template
vincentayorinde ffaefae
fix: reduce false positives and align severity with similar templates
vincentayorinde d825b35
Update and rename graphql-graphiql-exposure.yaml to graphiql-exposure…
ritikchaddha 75a35e1
Modify GraphiQL exposure detection configuration
DhiyaneshGeek File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
48 changes: 48 additions & 0 deletions
48
http/misconfiguration/graphql/graphql-graphiql-exposure.yaml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,48 @@ | ||
| id: graphql-graphiql-exposure | ||
|
|
||
| info: | ||
| name: GraphiQL Exposure | ||
| author: Vincent Olagbemide | ||
| severity: info | ||
| description: Detects publicly exposed GraphiQL consoles. | ||
| reference: | ||
| - https://github.com/graphql/graphiql | ||
| metadata: | ||
| verified: true | ||
| max-request: 5 | ||
| shodan-query: html:"GraphiQL" | ||
| tags: misconfig,graphql,graphiql,exposure | ||
|
|
||
| http: | ||
| - method: GET | ||
| path: | ||
| - "{{BaseURL}}/graphiql" | ||
| - "{{BaseURL}}/graphql" | ||
| - "{{BaseURL}}/api/graphql" | ||
| - "{{BaseURL}}/v1/graphql" | ||
| - "{{BaseURL}}/query" | ||
|
|
||
| redirects: true | ||
| max-redirects: 2 | ||
| stop-at-first-match: true | ||
|
|
||
| matchers-condition: and | ||
| matchers: | ||
|
|
||
| - type: word | ||
| part: body | ||
| condition: or | ||
| words: | ||
| - "graphiql.createFetcher" | ||
| - "GraphiQL" | ||
neo-by-projectdiscovery-dev[bot] marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| - "id=\"graphiql\"" | ||
| - "id='graphiql'" | ||
|
|
||
| - type: word | ||
| part: header | ||
| words: | ||
| - "text/html" | ||
|
|
||
| - type: status | ||
| status: | ||
| - 200 | ||
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.