{"items":[{"id":"NVI-00005385","kind":"vulnerability","title":"phpMyFAQ has unauthenticated SQL injection via User-Agent header in BuiltinCaptcha","revision":5,"unknowns":["Customer inventory, deployment, reachability and exploitation have not been inspected.","NVD lastModified does not establish freshness of every associated CPE record."],"lifecycle":"active","identifiers":["GHSA-289f-fq7w-6q2w","CVE-2026-46364"],"plain_summary":"GitHub lists this reviewed advisory for thorsten/phpmyfaq, phpmyfaq/phpmyfaq. Published version ranges and source prerequisites are shown below; this is not an inspection of a visitor’s application.","review_status":"source_listed","control_topics":[],"public_actions":[{"summary":"Identify the exact component and deployed version, examine the linked publisher’s conditions, and retain evidence of any mitigation.","source_ids":["sr-14d28516e5362671691a147506ddfb95"],"action_type":"investigate","limitations":"Confirm current vendor support, compatibility and deployment evidence. This report has not tested a fix in your system.","current_supported_target":null},{"summary":"The original advisory lists fixed boundaries 4.1.2 for thorsten/phpmyfaq. Confirm the publisher’s latest guidance.","source_ids":["sr-8d355aecf6c577e6e944c81de59954ef"],"action_type":"vendor_patch","limitations":"Confirm current vendor support, compatibility and deployment evidence. This report has not tested a fix in your system.","current_supported_target":null},{"summary":"The original advisory lists fixed boundaries 4.1.2 for phpmyfaq/phpmyfaq. Confirm the publisher’s latest guidance.","source_ids":["sr-8d355aecf6c577e6e944c81de59954ef"],"action_type":"vendor_patch","limitations":"Confirm current vendor support, compatibility and deployment evidence. This report has not tested a fix in your system.","current_supported_target":null}],"schema_version":"1.1.0","source_metrics":[{"kind":"CVSS","as_of":"2026-06-08T23:57:43.000Z","value":"9.8 critical","meaning":"GitHub source severity; exploitability and local consequence require separate evidence.","source_id":"sr-6957734aa58f15728dcdc80239d5c648"},{"kind":"CVSS","as_of":"2026-10-26T14:10:00.130Z","value":"9.8 CRITICAL (3.1)","meaning":"disclosure@vulncheck.com severity; no combined Null risk score.","source_id":"sr-56dbd2776be794a782b3449afde1c0a7"},{"kind":"CVSS","as_of":"2026-10-26T14:10:00.130Z","value":"9.3 CRITICAL (4.0)","meaning":"disclosure@vulncheck.com severity; no combined Null risk score.","source_id":"sr-56dbd2776be794a782b3449afde1c0a7"},{"kind":"EPSS","as_of":"2026-11-04T12:03:12.000Z","value":"1.709%","meaning":"FIRST EPSS model v2026.06.15; exploitation probability over 30 days, percentile 0.77397. Missing scores are unknown.","source_id":"sr-14d28516e5362671691a147506ddfb95"}],"why_it_matters":"Published affected context helps an owner decide what evidence to gather. This report has not examined your application.","related_sources":[{"id":"sr-6957734aa58f15728dcdc80239d5c648","url":"https://github.com/advisories/GHSA-289f-fq7w-6q2w","basis":"vendor_advisory","notes":"GitHub Advisory Database; CC-BY-4.0. Each advisory links its original attribution. Null normalizes fields.","title":"GHSA-289f-fq7w-6q2w","publisher":"GitHub Advisory Database","observed_at":"2026-11-06T20:58:31.464Z"},{"id":"sr-8d355aecf6c577e6e944c81de59954ef","url":"https://github.com/advisories/GHSA-289f-fq7w-6q2w","basis":"vendor_advisory","notes":"GitHub-origin advisory, CC-BY-4.0; OSV is an aggregate copy, not independent corroboration.","title":"GHSA-289f-fq7w-6q2w","publisher":"GitHub Advisory Database via OSV","observed_at":"2026-10-31T21:41:40.013Z"},{"id":"sr-56dbd2776be794a782b3449afde1c0a7","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-46364","basis":"official_catalog","notes":"This product uses data from the NVD API but is not endorsed or certified by the NVD.","title":"CVE-2026-46364","publisher":"NIST National Vulnerability Database","observed_at":"2026-11-01T07:24:11.754Z"},{"id":"sr-14d28516e5362671691a147506ddfb95","url":"https://www.first.org/epss/data.html","basis":"official_catalog","notes":"FIRST EPSS; probability of exploitation in the next 30 days, not local compromise. Dataset date/model retained; FIRST services terms apply.","title":"CVE-2026-46364","publisher":"FIRST EPSS","observed_at":"2026-11-04T17:58:50.328Z"}],"affected_context":[{"certainty":"source_listed","source_ids":["sr-6957734aa58f15728dcdc80239d5c648"],"technology":"thorsten/phpmyfaq","known_exclusions":[],"conditions_summary":"## Summary\n\n`BuiltinCaptcha::garbageCollector()` and `BuiltinCaptcha::saveCaptcha()` at `phpmyfaq/src/phpMyFAQ/Captcha/BuiltinCaptcha.php:298` and `:330` interpolate the `User-Agent` header and client IP address into DELETE and INSERT queries with `sprintf` and no escaping. Both methods run on every hit to the public `GET /api/captcha` endpoint, which requires no authentication. An unauthenticated attacker sets the `User-Agent` header to a crafted SQL payload and runs `SLEEP()`, `BENCHMARK()`, or time-based blind extraction against the database that backs phpMyFAQ. Verified live against 4.2.0-alpha (master at `b9f25109`): baseline request 147 ms, request with `User-Agent: x' OR SLEEP(2) OR 'x` 4.09 s (two `SLEEP(2)` calls, one per vulnerable sink).\n\n## Details\n\n`phpmyfaq/src/phpMyFAQ/Captcha/BuiltinCaptcha.php:112` populates two private fields from untrusted HTTP input at construction time:\n\n```php\n$this->userAgent = $request->headers->get('user-agent');\n$this->ip = $request->getClientIp();\n```\n\nBoth fields are then dropped into `sprintf()` SQL templates without ever touching `Database::escape()` or a prepared statement.\n\n`garbageCollector()` at line 298 (called on every captcha re","public_affected_ranges":["<= 4.1.1"]},{"certainty":"source_listed","source_ids":["sr-6957734aa58f15728dcdc80239d5c648"],"technology":"phpmyfaq/phpmyfaq","known_exclusions":[],"conditions_summary":"## Summary\n\n`BuiltinCaptcha::garbageCollector()` and `BuiltinCaptcha::saveCaptcha()` at `phpmyfaq/src/phpMyFAQ/Captcha/BuiltinCaptcha.php:298` and `:330` interpolate the `User-Agent` header and client IP address into DELETE and INSERT queries with `sprintf` and no escaping. Both methods run on every hit to the public `GET /api/captcha` endpoint, which requires no authentication. An unauthenticated attacker sets the `User-Agent` header to a crafted SQL payload and runs `SLEEP()`, `BENCHMARK()`, or time-based blind extraction against the database that backs phpMyFAQ. Verified live against 4.2.0-alpha (master at `b9f25109`): baseline request 147 ms, request with `User-Agent: x' OR SLEEP(2) OR 'x` 4.09 s (two `SLEEP(2)` calls, one per vulnerable sink).\n\n## Details\n\n`phpmyfaq/src/phpMyFAQ/Captcha/BuiltinCaptcha.php:112` populates two private fields from untrusted HTTP input at construction time:\n\n```php\n$this->userAgent = $request->headers->get('user-agent');\n$this->ip = $request->getClientIp();\n```\n\nBoth fields are then dropped into `sprintf()` SQL templates without ever touching `Database::escape()` or a prepared statement.\n\n`garbageCollector()` at line 298 (called on every captcha re","public_affected_ranges":["<= 4.1.1"]},{"certainty":"source_listed","source_ids":["sr-8d355aecf6c577e6e944c81de59954ef"],"technology":"thorsten/phpmyfaq","known_exclusions":[],"conditions_summary":"## Summary\n\n`BuiltinCaptcha::garbageCollector()` and `BuiltinCaptcha::saveCaptcha()` at `phpmyfaq/src/phpMyFAQ/Captcha/BuiltinCaptcha.php:298` and `:330` interpolate the `User-Agent` header and client IP address into DELETE and INSERT queries with `sprintf` and no escaping. Both methods run on every hit to the public `GET /api/captcha` endpoint, which requires no authentication. An unauthenticated attacker sets the `User-Agent` header to a crafted SQL payload and runs `SLEEP()`, `BENCHMARK()`, or time-based blind extraction against the database that backs phpMyFAQ. Verified live against 4.2.0-alpha (master at `b9f25109`): baseline request 147 ms, request with `User-Agent: x' OR SLEEP(2) OR 'x` 4.09 s (two `SLEEP(2)` calls, one per vulnerable sink).\n\n## Details\n\n`phpmyfaq/src/phpMyFAQ/Captcha/BuiltinCaptcha.php:112` populates two private fields from untrusted HTTP input at construction time:\n\n```php\n$this->userAgent = $request->headers->get('user-agent');\n$this->ip = $request->getClientIp();\n```\n\nBoth fields are then dropped into `sprintf()` SQL templates without ever touching `Database::escape()` or a prepared statement.\n\n`garbageCollector()` at line 298 (called on every captcha re","public_affected_ranges":["ECOSYSTEM: introduced 0; fixed 4.1.2"]},{"certainty":"source_listed","source_ids":["sr-8d355aecf6c577e6e944c81de59954ef"],"technology":"phpmyfaq/phpmyfaq","known_exclusions":[],"conditions_summary":"## Summary\n\n`BuiltinCaptcha::garbageCollector()` and `BuiltinCaptcha::saveCaptcha()` at `phpmyfaq/src/phpMyFAQ/Captcha/BuiltinCaptcha.php:298` and `:330` interpolate the `User-Agent` header and client IP address into DELETE and INSERT queries with `sprintf` and no escaping. Both methods run on every hit to the public `GET /api/captcha` endpoint, which requires no authentication. An unauthenticated attacker sets the `User-Agent` header to a crafted SQL payload and runs `SLEEP()`, `BENCHMARK()`, or time-based blind extraction against the database that backs phpMyFAQ. Verified live against 4.2.0-alpha (master at `b9f25109`): baseline request 147 ms, request with `User-Agent: x' OR SLEEP(2) OR 'x` 4.09 s (two `SLEEP(2)` calls, one per vulnerable sink).\n\n## Details\n\n`phpmyfaq/src/phpMyFAQ/Captcha/BuiltinCaptcha.php:112` populates two private fields from untrusted HTTP input at construction time:\n\n```php\n$this->userAgent = $request->headers->get('user-agent');\n$this->ip = $request->getClientIp();\n```\n\nBoth fields are then dropped into `sprintf()` SQL templates without ever touching `Database::escape()` or a prepared statement.\n\n`garbageCollector()` at line 298 (called on every captcha re","public_affected_ranges":["ECOSYSTEM: introduced 0; fixed 4.1.2"]}],"null_published_at":"2026-11-08T15:11:47.512Z","source_updated_at":"2026-06-08T23:57:43.000Z","source_disclosed_at":"2026-05-06T20:49:15.000Z","is_synthetic_fixture":false,"null_last_reviewed_at":null,"public_change_summary":"Source facts changed; compare the preserved prior revision.","null_first_observed_at":"2026-10-31T21:41:40.013Z"},{"id":"NVI-00005385","kind":"vulnerability","title":"phpMyFAQ has unauthenticated SQL injection via User-Agent header in BuiltinCaptcha","revision":4,"unknowns":["Customer inventory, deployment, reachability and exploitation have not been inspected.","NVD lastModified does not establish freshness of every associated CPE record."],"lifecycle":"active","identifiers":["GHSA-289f-fq7w-6q2w","CVE-2026-46364"],"plain_summary":"OSV carries this publisher advisory for thorsten/phpmyfaq, phpmyfaq/phpmyfaq. This is an aggregated source copy; consult the original publisher and compare update dates.","review_status":"source_listed","control_topics":[],"public_actions":[{"summary":"The original advisory lists fixed boundaries 4.1.2 for thorsten/phpmyfaq. Confirm the publisher’s latest guidance.","source_ids":["sr-8d355aecf6c577e6e944c81de59954ef"],"action_type":"vendor_patch","limitations":"Confirm current vendor support, compatibility and deployment evidence. This report has not tested a fix in your system.","current_supported_target":null},{"summary":"The original advisory lists fixed boundaries 4.1.2 for phpmyfaq/phpmyfaq. Confirm the publisher’s latest guidance.","source_ids":["sr-8d355aecf6c577e6e944c81de59954ef"],"action_type":"vendor_patch","limitations":"Confirm current vendor support, compatibility and deployment evidence. This report has not tested a fix in your system.","current_supported_target":null},{"summary":"Identify the exact component and deployed version, examine the linked publisher’s conditions, and retain evidence of any mitigation.","source_ids":["sr-14d28516e5362671691a147506ddfb95"],"action_type":"investigate","limitations":"Confirm current vendor support, compatibility and deployment evidence. This report has not tested a fix in your system.","current_supported_target":null}],"schema_version":"1.1.0","source_metrics":[{"kind":"CVSS","as_of":"2026-10-26T14:10:00.130Z","value":"9.8 CRITICAL (3.1)","meaning":"disclosure@vulncheck.com severity; no combined Null risk score.","source_id":"sr-56dbd2776be794a782b3449afde1c0a7"},{"kind":"CVSS","as_of":"2026-10-26T14:10:00.130Z","value":"9.3 CRITICAL (4.0)","meaning":"disclosure@vulncheck.com severity; no combined Null risk score.","source_id":"sr-56dbd2776be794a782b3449afde1c0a7"},{"kind":"EPSS","as_of":"2026-11-04T12:03:12.000Z","value":"1.709%","meaning":"FIRST EPSS model v2026.06.15; exploitation probability over 30 days, percentile 0.77397. Missing scores are unknown.","source_id":"sr-14d28516e5362671691a147506ddfb95"}],"why_it_matters":"Published affected context helps an owner decide what evidence to gather. This report has not examined your application.","related_sources":[{"id":"sr-8d355aecf6c577e6e944c81de59954ef","url":"https://github.com/advisories/GHSA-289f-fq7w-6q2w","basis":"vendor_advisory","notes":"GitHub-origin advisory, CC-BY-4.0; OSV is an aggregate copy, not independent corroboration.","title":"GHSA-289f-fq7w-6q2w","publisher":"GitHub Advisory Database via OSV","observed_at":"2026-10-31T21:41:40.013Z"},{"id":"sr-56dbd2776be794a782b3449afde1c0a7","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-46364","basis":"official_catalog","notes":"This product uses data from the NVD API but is not endorsed or certified by the NVD.","title":"CVE-2026-46364","publisher":"NIST National Vulnerability Database","observed_at":"2026-11-01T07:24:11.754Z"},{"id":"sr-14d28516e5362671691a147506ddfb95","url":"https://www.first.org/epss/data.html","basis":"official_catalog","notes":"FIRST EPSS; probability of exploitation in the next 30 days, not local compromise. Dataset date/model retained; FIRST services terms apply.","title":"CVE-2026-46364","publisher":"FIRST EPSS","observed_at":"2026-11-04T17:58:50.328Z"}],"affected_context":[{"certainty":"source_listed","source_ids":["sr-8d355aecf6c577e6e944c81de59954ef"],"technology":"thorsten/phpmyfaq","known_exclusions":[],"conditions_summary":"## Summary\n\n`BuiltinCaptcha::garbageCollector()` and `BuiltinCaptcha::saveCaptcha()` at `phpmyfaq/src/phpMyFAQ/Captcha/BuiltinCaptcha.php:298` and `:330` interpolate the `User-Agent` header and client IP address into DELETE and INSERT queries with `sprintf` and no escaping. Both methods run on every hit to the public `GET /api/captcha` endpoint, which requires no authentication. An unauthenticated attacker sets the `User-Agent` header to a crafted SQL payload and runs `SLEEP()`, `BENCHMARK()`, or time-based blind extraction against the database that backs phpMyFAQ. Verified live against 4.2.0-alpha (master at `b9f25109`): baseline request 147 ms, request with `User-Agent: x' OR SLEEP(2) OR 'x` 4.09 s (two `SLEEP(2)` calls, one per vulnerable sink).\n\n## Details\n\n`phpmyfaq/src/phpMyFAQ/Captcha/BuiltinCaptcha.php:112` populates two private fields from untrusted HTTP input at construction time:\n\n```php\n$this->userAgent = $request->headers->get('user-agent');\n$this->ip = $request->getClientIp();\n```\n\nBoth fields are then dropped into `sprintf()` SQL templates without ever touching `Database::escape()` or a prepared statement.\n\n`garbageCollector()` at line 298 (called on every captcha re","public_affected_ranges":["ECOSYSTEM: introduced 0; fixed 4.1.2"]},{"certainty":"source_listed","source_ids":["sr-8d355aecf6c577e6e944c81de59954ef"],"technology":"phpmyfaq/phpmyfaq","known_exclusions":[],"conditions_summary":"## Summary\n\n`BuiltinCaptcha::garbageCollector()` and `BuiltinCaptcha::saveCaptcha()` at `phpmyfaq/src/phpMyFAQ/Captcha/BuiltinCaptcha.php:298` and `:330` interpolate the `User-Agent` header and client IP address into DELETE and INSERT queries with `sprintf` and no escaping. Both methods run on every hit to the public `GET /api/captcha` endpoint, which requires no authentication. An unauthenticated attacker sets the `User-Agent` header to a crafted SQL payload and runs `SLEEP()`, `BENCHMARK()`, or time-based blind extraction against the database that backs phpMyFAQ. Verified live against 4.2.0-alpha (master at `b9f25109`): baseline request 147 ms, request with `User-Agent: x' OR SLEEP(2) OR 'x` 4.09 s (two `SLEEP(2)` calls, one per vulnerable sink).\n\n## Details\n\n`phpmyfaq/src/phpMyFAQ/Captcha/BuiltinCaptcha.php:112` populates two private fields from untrusted HTTP input at construction time:\n\n```php\n$this->userAgent = $request->headers->get('user-agent');\n$this->ip = $request->getClientIp();\n```\n\nBoth fields are then dropped into `sprintf()` SQL templates without ever touching `Database::escape()` or a prepared statement.\n\n`garbageCollector()` at line 298 (called on every captcha re","public_affected_ranges":["ECOSYSTEM: introduced 0; fixed 4.1.2"]}],"null_published_at":"2026-11-08T08:10:32.032Z","source_updated_at":"2026-09-10T03:50:45.292Z","source_disclosed_at":"2026-05-06T20:49:15.000Z","is_synthetic_fixture":false,"null_last_reviewed_at":null,"public_change_summary":"Dated EPSS estimate updated; this is not a new disclosure or proof of exploitation.","null_first_observed_at":"2026-10-31T21:41:40.013Z"},{"id":"NVI-00005385","kind":"vulnerability","title":"phpMyFAQ has unauthenticated SQL injection via User-Agent header in BuiltinCaptcha","revision":3,"unknowns":["Customer inventory, deployment, reachability and exploitation have not been inspected.","NVD lastModified does not establish freshness of every associated CPE record."],"lifecycle":"active","identifiers":["GHSA-289f-fq7w-6q2w","CVE-2026-46364"],"plain_summary":"OSV carries this publisher advisory for thorsten/phpmyfaq, phpmyfaq/phpmyfaq. This is an aggregated source copy; consult the original publisher and compare update dates.","review_status":"source_listed","control_topics":[],"public_actions":[{"summary":"The original advisory lists fixed boundaries 4.1.2 for thorsten/phpmyfaq. Confirm the publisher’s latest guidance.","source_ids":["sr-8d355aecf6c577e6e944c81de59954ef"],"action_type":"vendor_patch","limitations":"Confirm current vendor support, compatibility and deployment evidence. This report has not tested a fix in your system.","current_supported_target":null},{"summary":"The original advisory lists fixed boundaries 4.1.2 for phpmyfaq/phpmyfaq. Confirm the publisher’s latest guidance.","source_ids":["sr-8d355aecf6c577e6e944c81de59954ef"],"action_type":"vendor_patch","limitations":"Confirm current vendor support, compatibility and deployment evidence. This report has not tested a fix in your system.","current_supported_target":null},{"summary":"Identify the exact component and deployed version, examine the linked publisher’s conditions, and retain evidence of any mitigation.","source_ids":["sr-750cbbe5a6898a1905337dbd0d08402b"],"action_type":"investigate","limitations":"Confirm current vendor support, compatibility and deployment evidence. This report has not tested a fix in your system.","current_supported_target":null}],"schema_version":"1.1.0","source_metrics":[{"kind":"CVSS","as_of":"2026-10-26T14:10:00.130Z","value":"9.8 CRITICAL (3.1)","meaning":"disclosure@vulncheck.com severity; no combined Null risk score.","source_id":"sr-56dbd2776be794a782b3449afde1c0a7"},{"kind":"CVSS","as_of":"2026-10-26T14:10:00.130Z","value":"9.3 CRITICAL (4.0)","meaning":"disclosure@vulncheck.com severity; no combined Null risk score.","source_id":"sr-56dbd2776be794a782b3449afde1c0a7"},{"kind":"EPSS","as_of":"2026-10-31T12:00:27.000Z","value":"1.709%","meaning":"FIRST EPSS model v2026.06.15; exploitation probability over 30 days, percentile 0.77331. Missing scores are unknown.","source_id":"sr-750cbbe5a6898a1905337dbd0d08402b"}],"why_it_matters":"Published affected context helps an owner decide what evidence to gather. This report has not examined your application.","related_sources":[{"id":"sr-8d355aecf6c577e6e944c81de59954ef","url":"https://github.com/advisories/GHSA-289f-fq7w-6q2w","basis":"vendor_advisory","notes":"GitHub-origin advisory, CC-BY-4.0; OSV is an aggregate copy, not independent corroboration.","title":"GHSA-289f-fq7w-6q2w","publisher":"GitHub Advisory Database via OSV","observed_at":"2026-10-31T21:41:40.013Z"},{"id":"sr-56dbd2776be794a782b3449afde1c0a7","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-46364","basis":"official_catalog","notes":"This product uses data from the NVD API but is not endorsed or certified by the NVD.","title":"CVE-2026-46364","publisher":"NIST National Vulnerability Database","observed_at":"2026-11-01T07:24:11.754Z"},{"id":"sr-750cbbe5a6898a1905337dbd0d08402b","url":"https://www.first.org/epss/data.html","basis":"official_catalog","notes":"FIRST EPSS; probability of exploitation in the next 30 days, not local compromise. Dataset date/model retained; FIRST services terms apply.","title":"CVE-2026-46364","publisher":"FIRST EPSS","observed_at":"2026-10-31T22:06:15.379Z"}],"affected_context":[{"certainty":"source_listed","source_ids":["sr-8d355aecf6c577e6e944c81de59954ef"],"technology":"thorsten/phpmyfaq","known_exclusions":[],"conditions_summary":"## Summary\n\n`BuiltinCaptcha::garbageCollector()` and `BuiltinCaptcha::saveCaptcha()` at `phpmyfaq/src/phpMyFAQ/Captcha/BuiltinCaptcha.php:298` and `:330` interpolate the `User-Agent` header and client IP address into DELETE and INSERT queries with `sprintf` and no escaping. Both methods run on every hit to the public `GET /api/captcha` endpoint, which requires no authentication. An unauthenticated attacker sets the `User-Agent` header to a crafted SQL payload and runs `SLEEP()`, `BENCHMARK()`, or time-based blind extraction against the database that backs phpMyFAQ. Verified live against 4.2.0-alpha (master at `b9f25109`): baseline request 147 ms, request with `User-Agent: x' OR SLEEP(2) OR 'x` 4.09 s (two `SLEEP(2)` calls, one per vulnerable sink).\n\n## Details\n\n`phpmyfaq/src/phpMyFAQ/Captcha/BuiltinCaptcha.php:112` populates two private fields from untrusted HTTP input at construction time:\n\n```php\n$this->userAgent = $request->headers->get('user-agent');\n$this->ip = $request->getClientIp();\n```\n\nBoth fields are then dropped into `sprintf()` SQL templates without ever touching `Database::escape()` or a prepared statement.\n\n`garbageCollector()` at line 298 (called on every captcha re","public_affected_ranges":["ECOSYSTEM: introduced 0; fixed 4.1.2"]},{"certainty":"source_listed","source_ids":["sr-8d355aecf6c577e6e944c81de59954ef"],"technology":"phpmyfaq/phpmyfaq","known_exclusions":[],"conditions_summary":"## Summary\n\n`BuiltinCaptcha::garbageCollector()` and `BuiltinCaptcha::saveCaptcha()` at `phpmyfaq/src/phpMyFAQ/Captcha/BuiltinCaptcha.php:298` and `:330` interpolate the `User-Agent` header and client IP address into DELETE and INSERT queries with `sprintf` and no escaping. Both methods run on every hit to the public `GET /api/captcha` endpoint, which requires no authentication. An unauthenticated attacker sets the `User-Agent` header to a crafted SQL payload and runs `SLEEP()`, `BENCHMARK()`, or time-based blind extraction against the database that backs phpMyFAQ. Verified live against 4.2.0-alpha (master at `b9f25109`): baseline request 147 ms, request with `User-Agent: x' OR SLEEP(2) OR 'x` 4.09 s (two `SLEEP(2)` calls, one per vulnerable sink).\n\n## Details\n\n`phpmyfaq/src/phpMyFAQ/Captcha/BuiltinCaptcha.php:112` populates two private fields from untrusted HTTP input at construction time:\n\n```php\n$this->userAgent = $request->headers->get('user-agent');\n$this->ip = $request->getClientIp();\n```\n\nBoth fields are then dropped into `sprintf()` SQL templates without ever touching `Database::escape()` or a prepared statement.\n\n`garbageCollector()` at line 298 (called on every captcha re","public_affected_ranges":["ECOSYSTEM: introduced 0; fixed 4.1.2"]}],"null_published_at":"2026-11-02T20:21:10.262Z","source_updated_at":"2026-09-10T03:50:45.292Z","source_disclosed_at":"2026-05-06T20:49:15.000Z","is_synthetic_fixture":false,"null_last_reviewed_at":null,"public_change_summary":"Source facts changed; compare the preserved prior revision.","null_first_observed_at":"2026-10-31T21:41:40.013Z"},{"id":"NVI-00005385","kind":"vulnerability","title":"phpMyFAQ has unauthenticated SQL injection via User-Agent header in BuiltinCaptcha","revision":2,"unknowns":["Customer inventory, deployment, reachability and exploitation have not been inspected."],"lifecycle":"active","identifiers":["GHSA-289f-fq7w-6q2w","CVE-2026-46364"],"plain_summary":"OSV carries this publisher advisory for thorsten/phpmyfaq, phpmyfaq/phpmyfaq. This is an aggregated source copy; consult the original publisher and compare update dates.","review_status":"source_listed","control_topics":[],"public_actions":[{"summary":"The original advisory lists fixed boundaries 4.1.2 for thorsten/phpmyfaq. Confirm the publisher’s latest guidance.","source_ids":["sr-8d355aecf6c577e6e944c81de59954ef"],"action_type":"vendor_patch","limitations":"Confirm current vendor support, compatibility and deployment evidence. This report has not tested a fix in your system.","current_supported_target":null},{"summary":"The original advisory lists fixed boundaries 4.1.2 for phpmyfaq/phpmyfaq. Confirm the publisher’s latest guidance.","source_ids":["sr-8d355aecf6c577e6e944c81de59954ef"],"action_type":"vendor_patch","limitations":"Confirm current vendor support, compatibility and deployment evidence. This report has not tested a fix in your system.","current_supported_target":null},{"summary":"Identify the exact component and deployed version, examine the linked publisher’s conditions, and retain evidence of any mitigation.","source_ids":["sr-750cbbe5a6898a1905337dbd0d08402b"],"action_type":"investigate","limitations":"Confirm current vendor support, compatibility and deployment evidence. This report has not tested a fix in your system.","current_supported_target":null}],"schema_version":"1.1.0","source_metrics":[{"kind":"EPSS","as_of":"2026-10-31T12:00:27.000Z","value":"1.709%","meaning":"FIRST EPSS model v2026.06.15; exploitation probability over 30 days, percentile 0.77331. Missing scores are unknown.","source_id":"sr-750cbbe5a6898a1905337dbd0d08402b"}],"why_it_matters":"Published affected context helps an owner decide what evidence to gather. This report has not examined your application.","related_sources":[{"id":"sr-8d355aecf6c577e6e944c81de59954ef","url":"https://github.com/advisories/GHSA-289f-fq7w-6q2w","basis":"vendor_advisory","notes":"GitHub-origin advisory, CC-BY-4.0; OSV is an aggregate copy, not independent corroboration.","title":"GHSA-289f-fq7w-6q2w","publisher":"GitHub Advisory Database via OSV","observed_at":"2026-10-31T21:41:40.013Z"},{"id":"sr-750cbbe5a6898a1905337dbd0d08402b","url":"https://www.first.org/epss/data.html","basis":"official_catalog","notes":"FIRST EPSS; probability of exploitation in the next 30 days, not local compromise. Dataset date/model retained; FIRST services terms apply.","title":"CVE-2026-46364","publisher":"FIRST EPSS","observed_at":"2026-10-31T22:06:15.379Z"}],"affected_context":[{"certainty":"source_listed","source_ids":["sr-8d355aecf6c577e6e944c81de59954ef"],"technology":"thorsten/phpmyfaq","known_exclusions":[],"conditions_summary":"## Summary\n\n`BuiltinCaptcha::garbageCollector()` and `BuiltinCaptcha::saveCaptcha()` at `phpmyfaq/src/phpMyFAQ/Captcha/BuiltinCaptcha.php:298` and `:330` interpolate the `User-Agent` header and client IP address into DELETE and INSERT queries with `sprintf` and no escaping. Both methods run on every hit to the public `GET /api/captcha` endpoint, which requires no authentication. An unauthenticated attacker sets the `User-Agent` header to a crafted SQL payload and runs `SLEEP()`, `BENCHMARK()`, or time-based blind extraction against the database that backs phpMyFAQ. Verified live against 4.2.0-alpha (master at `b9f25109`): baseline request 147 ms, request with `User-Agent: x' OR SLEEP(2) OR 'x` 4.09 s (two `SLEEP(2)` calls, one per vulnerable sink).\n\n## Details\n\n`phpmyfaq/src/phpMyFAQ/Captcha/BuiltinCaptcha.php:112` populates two private fields from untrusted HTTP input at construction time:\n\n```php\n$this->userAgent = $request->headers->get('user-agent');\n$this->ip = $request->getClientIp();\n```\n\nBoth fields are then dropped into `sprintf()` SQL templates without ever touching `Database::escape()` or a prepared statement.\n\n`garbageCollector()` at line 298 (called on every captcha re","public_affected_ranges":["ECOSYSTEM: introduced 0; fixed 4.1.2"]},{"certainty":"source_listed","source_ids":["sr-8d355aecf6c577e6e944c81de59954ef"],"technology":"phpmyfaq/phpmyfaq","known_exclusions":[],"conditions_summary":"## Summary\n\n`BuiltinCaptcha::garbageCollector()` and `BuiltinCaptcha::saveCaptcha()` at `phpmyfaq/src/phpMyFAQ/Captcha/BuiltinCaptcha.php:298` and `:330` interpolate the `User-Agent` header and client IP address into DELETE and INSERT queries with `sprintf` and no escaping. Both methods run on every hit to the public `GET /api/captcha` endpoint, which requires no authentication. An unauthenticated attacker sets the `User-Agent` header to a crafted SQL payload and runs `SLEEP()`, `BENCHMARK()`, or time-based blind extraction against the database that backs phpMyFAQ. Verified live against 4.2.0-alpha (master at `b9f25109`): baseline request 147 ms, request with `User-Agent: x' OR SLEEP(2) OR 'x` 4.09 s (two `SLEEP(2)` calls, one per vulnerable sink).\n\n## Details\n\n`phpmyfaq/src/phpMyFAQ/Captcha/BuiltinCaptcha.php:112` populates two private fields from untrusted HTTP input at construction time:\n\n```php\n$this->userAgent = $request->headers->get('user-agent');\n$this->ip = $request->getClientIp();\n```\n\nBoth fields are then dropped into `sprintf()` SQL templates without ever touching `Database::escape()` or a prepared statement.\n\n`garbageCollector()` at line 298 (called on every captcha re","public_affected_ranges":["ECOSYSTEM: introduced 0; fixed 4.1.2"]}],"null_published_at":"2026-11-01T19:14:01.599Z","source_updated_at":"2026-09-10T03:50:45.292Z","source_disclosed_at":"2026-05-06T20:49:15.000Z","is_synthetic_fixture":false,"null_last_reviewed_at":null,"public_change_summary":"Dated EPSS estimate updated; this is not a new disclosure or proof of exploitation.","null_first_observed_at":"2026-10-31T21:41:40.013Z"},{"id":"NVI-00005385","kind":"vulnerability","title":"phpMyFAQ has unauthenticated SQL injection via User-Agent header in BuiltinCaptcha","revision":1,"unknowns":["Customer inventory, deployment, reachability and exploitation have not been inspected."],"lifecycle":"active","identifiers":["GHSA-289f-fq7w-6q2w","CVE-2026-46364"],"plain_summary":"OSV carries this publisher advisory for thorsten/phpmyfaq, phpmyfaq/phpmyfaq. This is an aggregated source copy; consult the original publisher and compare update dates.","review_status":"source_listed","control_topics":[],"public_actions":[{"summary":"The original advisory lists fixed boundaries 4.1.2 for thorsten/phpmyfaq. Confirm the publisher’s latest guidance.","source_ids":["sr-8d355aecf6c577e6e944c81de59954ef"],"action_type":"vendor_patch","limitations":"Confirm current vendor support, compatibility and deployment evidence. This report has not tested a fix in your system.","current_supported_target":null},{"summary":"The original advisory lists fixed boundaries 4.1.2 for phpmyfaq/phpmyfaq. Confirm the publisher’s latest guidance.","source_ids":["sr-8d355aecf6c577e6e944c81de59954ef"],"action_type":"vendor_patch","limitations":"Confirm current vendor support, compatibility and deployment evidence. This report has not tested a fix in your system.","current_supported_target":null}],"schema_version":"1.1.0","source_metrics":[],"why_it_matters":"Published affected context helps an owner decide what evidence to gather. This report has not examined your application.","related_sources":[{"id":"sr-8d355aecf6c577e6e944c81de59954ef","url":"https://github.com/advisories/GHSA-289f-fq7w-6q2w","basis":"vendor_advisory","notes":"GitHub-origin advisory, CC-BY-4.0; OSV is an aggregate copy, not independent corroboration.","title":"GHSA-289f-fq7w-6q2w","publisher":"GitHub Advisory Database via OSV","observed_at":"2026-10-31T21:41:40.013Z"}],"affected_context":[{"certainty":"source_listed","source_ids":["sr-8d355aecf6c577e6e944c81de59954ef"],"technology":"thorsten/phpmyfaq","known_exclusions":[],"conditions_summary":"## Summary\n\n`BuiltinCaptcha::garbageCollector()` and `BuiltinCaptcha::saveCaptcha()` at `phpmyfaq/src/phpMyFAQ/Captcha/BuiltinCaptcha.php:298` and `:330` interpolate the `User-Agent` header and client IP address into DELETE and INSERT queries with `sprintf` and no escaping. Both methods run on every hit to the public `GET /api/captcha` endpoint, which requires no authentication. An unauthenticated attacker sets the `User-Agent` header to a crafted SQL payload and runs `SLEEP()`, `BENCHMARK()`, or time-based blind extraction against the database that backs phpMyFAQ. Verified live against 4.2.0-alpha (master at `b9f25109`): baseline request 147 ms, request with `User-Agent: x' OR SLEEP(2) OR 'x` 4.09 s (two `SLEEP(2)` calls, one per vulnerable sink).\n\n## Details\n\n`phpmyfaq/src/phpMyFAQ/Captcha/BuiltinCaptcha.php:112` populates two private fields from untrusted HTTP input at construction time:\n\n```php\n$this->userAgent = $request->headers->get('user-agent');\n$this->ip = $request->getClientIp();\n```\n\nBoth fields are then dropped into `sprintf()` SQL templates without ever touching `Database::escape()` or a prepared statement.\n\n`garbageCollector()` at line 298 (called on every captcha re","public_affected_ranges":["ECOSYSTEM: introduced 0; fixed 4.1.2"]},{"certainty":"source_listed","source_ids":["sr-8d355aecf6c577e6e944c81de59954ef"],"technology":"phpmyfaq/phpmyfaq","known_exclusions":[],"conditions_summary":"## Summary\n\n`BuiltinCaptcha::garbageCollector()` and `BuiltinCaptcha::saveCaptcha()` at `phpmyfaq/src/phpMyFAQ/Captcha/BuiltinCaptcha.php:298` and `:330` interpolate the `User-Agent` header and client IP address into DELETE and INSERT queries with `sprintf` and no escaping. Both methods run on every hit to the public `GET /api/captcha` endpoint, which requires no authentication. An unauthenticated attacker sets the `User-Agent` header to a crafted SQL payload and runs `SLEEP()`, `BENCHMARK()`, or time-based blind extraction against the database that backs phpMyFAQ. Verified live against 4.2.0-alpha (master at `b9f25109`): baseline request 147 ms, request with `User-Agent: x' OR SLEEP(2) OR 'x` 4.09 s (two `SLEEP(2)` calls, one per vulnerable sink).\n\n## Details\n\n`phpmyfaq/src/phpMyFAQ/Captcha/BuiltinCaptcha.php:112` populates two private fields from untrusted HTTP input at construction time:\n\n```php\n$this->userAgent = $request->headers->get('user-agent');\n$this->ip = $request->getClientIp();\n```\n\nBoth fields are then dropped into `sprintf()` SQL templates without ever touching `Database::escape()` or a prepared statement.\n\n`garbageCollector()` at line 298 (called on every captcha re","public_affected_ranges":["ECOSYSTEM: introduced 0; fixed 4.1.2"]}],"null_published_at":"2026-10-31T22:13:01.462Z","source_updated_at":"2026-09-10T03:50:45.292Z","source_disclosed_at":"2026-05-06T20:49:15.000Z","is_synthetic_fixture":false,"null_last_reviewed_at":null,"public_change_summary":"First indexed by Null; source disclosure date is shown separately.","null_first_observed_at":"2026-10-31T21:41:40.013Z"}],"next_cursor":null,"snapshot_revision":"42594"}