{"schemaVersion":3,"id":"CVE-2026-61451","aliases":[],"status":"published","duplicateOf":null,"title":null,"description":"The Grav API plugin (grav-plugin-api) before 1.0.4 does not validate the origin of the client-supplied admin_base_url field in the POST /api/v1/auth/forgot-password endpoint. The sanitizeHttpUrl() function only checks that the URL scheme is http/https and never verifies the host against the server's own origin, so an attacker can supply an arbitrary host. As a result, an unauthenticated attacker can cause the password reset email sent to a victim to contain a reset link pointing at an attacker-controlled server; when the victim follows the link, the valid reset token is disclosed to the attacker, enabling full account takeover. The vulnerable base URL can also be influenced via the Referer or Origin headers.","dates":{"published":"2026-07-15T11:25:44.506Z","modified":"2026-07-28T13:02:09.692Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":9.6,"severity":"critical","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"4.0","versionLabel":"v4.0","source":"CVE.org","score":9.4,"severity":"critical","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":9.6,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"4.0","versionLabel":"v4.0","source":"NVD","score":9.4,"severity":"critical","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":9.6,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00422,"percentile":0.35413,"severity":"low","asOf":"2026-10-21T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-21T00:00:00.000Z","baselineScore":0.00422},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00422,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00422,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00422,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00422,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00422,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00422,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00422,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00422,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00422,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00422,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00422,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00422,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00422,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00422,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00422,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00422,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00422,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00422,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00422,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00422,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00422,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00422,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00422,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00422,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00422,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00422,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00422,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00422,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00422,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00422,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00422,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00422,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00422,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00422,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00422,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00422,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00422,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00422,"percentile":0.35413}],"last30":[{"date":"2026-09-21T00:00:00.000Z","score":0.00422,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00422,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00422,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00422,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00422,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00422,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00422,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00422,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00422,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00422,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00422,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00422,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00422,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00422,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00422,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00422,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00422,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00422,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00422,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00422,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00422,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00422,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00422,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00422,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00422,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00422,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00422,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00422,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00422,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00422,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00422,"percentile":0.35413}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-601","name":"URL Redirection to Untrusted Site ('Open Redirect')","description":"The web application accepts a user-controlled input that specifies a link to an external site, and uses that link in a redirect.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":"Low","url":"https://cwe.mitre.org/data/definitions/601.html"}],"affected":[{"vendor":"getgrav","product":"grav","name":"grav","label":"grav","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 1.0.4","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.0.4","eol":null,"hubHref":"/vendor/getgrav/grav"}],"affectedCount":1,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/getgrav/grav/security/advisories/GHSA-5xc4-j99p-cp4m","label":"github.com/getgrav/grav/security/advisories/GHSA-5xc4-j99p-cp4m","hostname":"github.com","tags":["Vendor Advisory"]},{"url":"https://www.vulncheck.com/advisories/grav-before-password-reset-token-poisoning-via-admin-base-url","label":"www.vulncheck.com/advisories/grav-before-password-reset-token-poisoning-via-admin-base-url","hostname":"www.vulncheck.com","tags":["Third Party Advisory"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":["CVE-2026-61839"],"related":[]},"timeline":[{"kind":"published","date":"2026-07-15T11:25:44.506Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-07-28T13:02:09.692Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":70,"level":"high","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-21T19:19:43.086Z","stale":false,"partial":false}}