{
  "id": "CVE-2025-31131",
  "url": "https://poc.griffinguard.io/cve/CVE-2025-31131",
  "published_at": "2025-04-01T14:56:45.222Z",
  "title": "Path Traversal allowing arbitrary read of files in Yeswiki",
  "vendor": "YesWiki",
  "product": "yeswiki",
  "cvss": {
    "score": 8.6,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": {
    "created_at": "2025-04-02T13:27:45Z",
    "first_seen_at": "2026-11-14T11:25:11.578Z",
    "days_after_publication": 0.9,
    "source": "nuclei",
    "url": "https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2025/CVE-2025-31131.yaml"
  },
  "poc_repo_count": 3,
  "exploit_count": 2,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "YesWiki is a wiki system written in PHP. The squelette parameter is vulnerable to path traversal attacks, enabling read access to arbitrary files on the server. This vulnerability is fixed in 4.5.2.",
  "cwe": "CWE-22",
  "cpes": [
    "cpe:2.3:a:yeswiki:yeswiki:*:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 8.6,
    "nvd": 7.5
  },
  "repos": [
    {
      "repo": "B1ack4sh/Blackash-CVE-2025-31131",
      "url": "https://github.com/B1ack4sh/Blackash-CVE-2025-31131",
      "created_at": null,
      "first_seen_at": "2026-11-14T21:44:13.198Z",
      "stars": 0,
      "is_poc": "unknown",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "skipped"
    },
    {
      "repo": "nak000/CVE-2025-31131-RCE",
      "url": "https://github.com/nak000/CVE-2025-31131-RCE",
      "created_at": null,
      "first_seen_at": "2026-11-14T21:44:13.198Z",
      "stars": 0,
      "is_poc": "unknown",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "skipped"
    },
    {
      "repo": "MuhammadWaseem29/CVE-2025-31131",
      "url": "https://github.com/MuhammadWaseem29/CVE-2025-31131",
      "created_at": "2025-04-04T15:31:15Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 2,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2024-03-02T09:22:01Z"
    },
    {
      "repo": "gmh5225/Blackash-CVE-2025-31131",
      "url": "https://github.com/gmh5225/Blackash-CVE-2025-31131",
      "created_at": "2025-06-07T13:39:52Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 0,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2015-08-22T13:07:45Z"
    },
    {
      "repo": "alinaclark672377250/CVE-2025-31131",
      "url": "https://github.com/alinaclark672377250/CVE-2025-31131",
      "created_at": "2026-11-13T21:53:22Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 0,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2026-08-07T12:34:56Z"
    }
  ],
  "remediation": {
    "affected": [
      {
        "vendor": "YesWiki",
        "product": "yeswiki",
        "ranges": [
          "\u003c 4.5.2"
        ],
        "fixed_in": [
          "4.5.2"
        ]
      }
    ],
    "upgrade": [
      "Upgrade yeswiki to 4.5.2 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/YesWiki/yeswiki/security/advisories/GHSA-w34w-fvp3-68xm"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/YesWiki/yeswiki/commit/f78c915369a60c74ab8f38561ae93a4aaca9b989"
      }
    ]
  },
  "exploit_refs": [
    {
      "url": "https://www.exploit-db.com/exploits/52135",
      "source": "exploitdb",
      "title": "YesWiki 4.5.1 - Unauthenticated Path Traversal",
      "published_at": "2025-04-07T00:00:00Z",
      "first_seen_at": "2026-11-14T10:26:36.149Z"
    },
    {
      "url": "https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2025/CVE-2025-31131.yaml",
      "source": "nuclei",
      "title": "nuclei template: Yeswiki \u003c 4.5.2 - Unauthenticated Path Traversal",
      "published_at": "2025-04-02T13:27:45Z",
      "first_seen_at": "2026-11-14T10:26:36.149Z"
    }
  ],
  "hunt_profile": [
    {
      "method": "GET",
      "path_template": "/",
      "query_markers": [
        "UrkCEO/edit=",
        "theme=margot",
        "squelette=../../../../../../../../etc/passwd",
        "style=margot.css",
        "squelette="
      ],
      "headers": [
        {
          "name": "Accept",
          "value": "text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7"
        },
        {
          "name": "Accept",
          "value": "*/*"
        },
        {
          "name": "Accept-Language",
          "value": "en-US,en;q=0.9"
        },
        {
          "name": "Priority",
          "value": "u=0, i"
        },
        {
          "name": "Sec-Ch-Ua",
          "value": "\"Chromium\";v=\"133\", \"Not(A:Brand\";v=\"99\""
        },
        {
          "name": "Sec-Ch-Ua-Mobile",
          "value": "?0"
        },
        {
          "name": "Sec-Ch-Ua-Platform",
          "value": "\"Windows\""
        },
        {
          "name": "Sec-Fetch-Dest",
          "value": "document"
        },
        {
          "name": "Sec-Fetch-Mode",
          "value": "navigate"
        },
        {
          "name": "Sec-Fetch-Site",
          "value": "none"
        },
        {
          "name": "Sec-Fetch-User",
          "value": "?1"
        },
        {
          "name": "Upgrade-Insecure-Requests",
          "value": "1"
        }
      ],
      "user_agents": [
        "Mozilla/5.0",
        "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/133.0.0.0 Safari/537.36"
      ],
      "protocol": "http",
      "repos": [
        "MuhammadWaseem29/CVE-2025-31131",
        "alinaclark672377250/CVE-2025-31131",
        "gmh5225/Blackash-CVE-2025-31131"
      ],
      "repo_count": 3,
      "confidence": 0.85,
      "evidence": [
        "MuhammadWaseem29/CVE-2025-31131/README.md:25",
        "MuhammadWaseem29/CVE-2025-31131/exploit.py:45",
        "alinaclark672377250/CVE-2025-31131/README.md:25",
        "alinaclark672377250/CVE-2025-31131/exploit.py:45",
        "gmh5225/Blackash-CVE-2025-31131/CVE-2025-31131.py:45",
        "gmh5225/Blackash-CVE-2025-31131/README.md:24"
      ]
    }
  ],
  "rules": []
}
