SecurityContext

stylelint-ignore-disclosure: Stylelint - Ignore File Disclosure

  • Template: stylelint-ignore-disclosure
  • Name: Stylelint - Ignore File Disclosure
  • Description: The .stylelintignore file is publicly accessible, potentially revealing project structure, sensitive file paths, and internal directory organization.
  • Severity: info
  • Authors: ritikchaddha
  • Tags: stylelintignore, config, exposure, disclosure, vuln
  • References: https://stylelint.io/user-guide/ignore-code
  • Verified: yes
  • Max requests: 1
  • Directory: http/misconfiguration
  • Path: http/misconfiguration/stylelint-ignore-disclosure.yaml
  • Digest: 4b0a00483046022100d1e88531ce183a20dde0e0f9027d3a022d60e113d92c9b4f1419615e2b7d5a7c022100c07cd07c3dcd0ecb82cd134bdeca26cc2722d80f6e92c74e02f9a5a56d7d2616
  • Created at: 2026-01-15T06:44:36Z
  • Updated at: 2026-09-08T09:47:47Z
  • Age in days: 314
  • Template url: https://github.com/projectdiscovery/nuclei-templates/blob/main/http/misconfiguration/stylelint-ignore-disclosure.yaml
  • Checked, none or zero: cves, products
  • Not known: impact, remediation

Classification

  • Checked, none or zero: cwe
  • Not known: cvss score, cvss vector, epss score, epss percentile, cpe

Metadata

  • Fofa-query: body=".stylelintignore"
  • Max-request: 1
  • Shodan-query: http.html:".stylelintignore"
  • Verified: yes

Labels

  • Name: Stylelint - Information Disclosure
  • Impact: Attackers can view project structure and sensitive file paths, potentially aiding further attacks.
  • Remediation: Update to the latest version of Stylelint or restrict access to the .stylelintignore file.
  • Vulnerability type: misconfiguration
  • Vulnerability impact: information_disclosure
  • Requirement type: none
  • Labels source: securitycontext
  • Not known: requirements, from cve

```yaml

id: stylelint-ignore-disclosure

info:

name: Stylelint - Ignore File Disclosure

author: ritikchaddha

severity: info

description: |

The .stylelintignore file is publicly accessible, potentially revealing project structure, sensitive file paths, and internal directory organization.

reference:

- https://stylelint.io/user-guide/ignore-code

metadata:

verified: true

max-request: 1

shodan-query: http.html:".stylelintignore"

fofa-query: body=".stylelintignore"

tags: stylelintignore,config,exposure,disclosure,vuln

http:

- method: GET

path:

- "{{BaseURL}}/.stylelintignore"

matchers-condition: and

matchers:

- type: dsl

dsl:

- "status_code == 200"

- "len(body) > 30"

- "contains_any(content_type, 'application/octet-stream', 'text/plain')"

condition: and

- type: word

part: response

words:

- "MongoDB over HTTP on the native"

- "application/javascript"

- "application/x-javascript"

- "application/json"

- "application/xml"

- "text/xml"

- "<html"

- "<!doctype"

- "<script"

- "<meta"

- "image/"

- "Response xmlns"

negative: true

digest: 4b0a00483046022100d1e88531ce183a20dde0e0f9027d3a022d60e113d92c9b4f1419615e2b7d5a7c022100c07cd07c3dcd0ecb82cd134bdeca26cc2722d80f6e92c74e02f9a5a56d7d2616:922c64590222798bb761d5b6d8e72950

```