{"items":[{"id":"NVI-00003793","kind":"vulnerability","title":"YesWiki: Second-Order SQL Injection in Page Delete API via Unescaped Page Tag (`ApiController::deletePage`)","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-8f2v-2qhj-gfwg","CVE-2026-52771"],"plain_summary":"OSV carries this publisher advisory for yeswiki/yeswiki. 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.6.6 for yeswiki/yeswiki. Confirm the publisher’s latest guidance.","source_ids":["sr-4b291f7d0df2ad13e1aadcd1a0c2b842"],"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-15606efb35da98656c084785d4443c91"],"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-09-08T21:05:26.920Z","value":"8.3 HIGH (3.1)","meaning":"security-advisories@github.com severity; no combined Null risk score.","source_id":"sr-992f42cc1cf5ac0d6af158de4395d839"},{"kind":"EPSS","as_of":"2026-11-03T12:00:27.000Z","value":"0.512%","meaning":"FIRST EPSS model v2026.06.15; exploitation probability over 30 days, percentile 0.4375. Missing scores are unknown.","source_id":"sr-15606efb35da98656c084785d4443c91"}],"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-4b291f7d0df2ad13e1aadcd1a0c2b842","url":"https://github.com/advisories/GHSA-8f2v-2qhj-gfwg","basis":"vendor_advisory","notes":"GitHub-origin advisory, CC-BY-4.0; OSV is an aggregate copy, not independent corroboration.","title":"GHSA-8f2v-2qhj-gfwg","publisher":"GitHub Advisory Database via OSV","observed_at":"2026-10-31T21:42:10.668Z"},{"id":"sr-992f42cc1cf5ac0d6af158de4395d839","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-52771","basis":"official_catalog","notes":"This product uses data from the NVD API but is not endorsed or certified by the NVD.","title":"CVE-2026-52771","publisher":"NIST National Vulnerability Database","observed_at":"2026-11-01T07:24:31.710Z"},{"id":"sr-15606efb35da98656c084785d4443c91","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-52771","publisher":"FIRST EPSS","observed_at":"2026-11-03T17:44:07.787Z"}],"affected_context":[{"certainty":"source_listed","source_ids":["sr-4b291f7d0df2ad13e1aadcd1a0c2b842"],"technology":"yeswiki/yeswiki","known_exclusions":[],"conditions_summary":"## Summary\n`ApiController::deletePage()` interpolates a page tag retrieved from the database into a `DELETE FROM …_links WHERE to_tag = '$tag'` query without escaping. The page tag is attacker-controlled — the `POST /api/pages/{tag}` API accepts arbitrary URL-encoded values, including single quotes, and stores them. A low-privilege authenticated user can therefore create a page whose tag is a SQL fragment, make the page non-orphaned via the standard `{{include page=\"…\"}}` link mechanism, and then invoke the delete endpoint to execute arbitrary SQL inside the wiki database - including time-based blind data exfiltration from any table.\n\nThis is a **classic second-order SQL injection**: the `INSERT` correctly escapes the value, so the malicious tag is stored intact and the input passes every \"is this value safe to put in the database?\" check; the sink is the *read-back-and-reuse* path, where escaping is omitted.\n\n## Details\n### Affected component\n\n* **File:** `includes/controllers/ApiController.php`\n* **Method:** `ApiController::deletePage($tag)`\n* **Route:** `@Route(\"/api/pages/{tag}\", methods={\"DELETE\"}, options={\"acl\":{\"+\"}})` — `acl:\"+\"` means *any authenticated user*.\n* **Sink:**","public_affected_ranges":["ECOSYSTEM: introduced 4.2.0; fixed 4.6.6"]}],"null_published_at":"2026-11-06T15:18:11.505Z","source_updated_at":"2026-07-09T21:26:42.402Z","source_disclosed_at":"2026-07-09T21:00:14.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:42:10.668Z"},{"id":"NVI-00003793","kind":"vulnerability","title":"YesWiki: Second-Order SQL Injection in Page Delete API via Unescaped Page Tag (`ApiController::deletePage`)","revision":3,"unknowns":["Customer inventory, deployment, reachability and exploitation have not been inspected."],"lifecycle":"active","identifiers":["GHSA-8f2v-2qhj-gfwg","CVE-2026-52771"],"plain_summary":"OSV carries this publisher advisory for yeswiki/yeswiki. 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.6.6 for yeswiki/yeswiki. Confirm the publisher’s latest guidance.","source_ids":["sr-4b291f7d0df2ad13e1aadcd1a0c2b842"],"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-15606efb35da98656c084785d4443c91"],"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-11-03T12:00:27.000Z","value":"0.512%","meaning":"FIRST EPSS model v2026.06.15; exploitation probability over 30 days, percentile 0.4375. Missing scores are unknown.","source_id":"sr-15606efb35da98656c084785d4443c91"}],"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-4b291f7d0df2ad13e1aadcd1a0c2b842","url":"https://github.com/advisories/GHSA-8f2v-2qhj-gfwg","basis":"vendor_advisory","notes":"GitHub-origin advisory, CC-BY-4.0; OSV is an aggregate copy, not independent corroboration.","title":"GHSA-8f2v-2qhj-gfwg","publisher":"GitHub Advisory Database via OSV","observed_at":"2026-10-31T21:42:10.668Z"},{"id":"sr-15606efb35da98656c084785d4443c91","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-52771","publisher":"FIRST EPSS","observed_at":"2026-11-03T17:44:07.787Z"}],"affected_context":[{"certainty":"source_listed","source_ids":["sr-4b291f7d0df2ad13e1aadcd1a0c2b842"],"technology":"yeswiki/yeswiki","known_exclusions":[],"conditions_summary":"## Summary\n`ApiController::deletePage()` interpolates a page tag retrieved from the database into a `DELETE FROM …_links WHERE to_tag = '$tag'` query without escaping. The page tag is attacker-controlled — the `POST /api/pages/{tag}` API accepts arbitrary URL-encoded values, including single quotes, and stores them. A low-privilege authenticated user can therefore create a page whose tag is a SQL fragment, make the page non-orphaned via the standard `{{include page=\"…\"}}` link mechanism, and then invoke the delete endpoint to execute arbitrary SQL inside the wiki database - including time-based blind data exfiltration from any table.\n\nThis is a **classic second-order SQL injection**: the `INSERT` correctly escapes the value, so the malicious tag is stored intact and the input passes every \"is this value safe to put in the database?\" check; the sink is the *read-back-and-reuse* path, where escaping is omitted.\n\n## Details\n### Affected component\n\n* **File:** `includes/controllers/ApiController.php`\n* **Method:** `ApiController::deletePage($tag)`\n* **Route:** `@Route(\"/api/pages/{tag}\", methods={\"DELETE\"}, options={\"acl\":{\"+\"}})` — `acl:\"+\"` means *any authenticated user*.\n* **Sink:**","public_affected_ranges":["ECOSYSTEM: introduced 4.2.0; fixed 4.6.6"]}],"null_published_at":"2026-11-06T00:29:57.323Z","source_updated_at":"2026-07-09T21:26:42.402Z","source_disclosed_at":"2026-07-09T21:00:14.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:42:10.668Z"},{"id":"NVI-00003793","kind":"vulnerability","title":"YesWiki: Second-Order SQL Injection in Page Delete API via Unescaped Page Tag (`ApiController::deletePage`)","revision":2,"unknowns":["Customer inventory, deployment, reachability and exploitation have not been inspected."],"lifecycle":"active","identifiers":["GHSA-8f2v-2qhj-gfwg","CVE-2026-52771"],"plain_summary":"OSV carries this publisher advisory for yeswiki/yeswiki. 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.6.6 for yeswiki/yeswiki. Confirm the publisher’s latest guidance.","source_ids":["sr-4b291f7d0df2ad13e1aadcd1a0c2b842"],"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-0ba91b1a60b24581dca7c74fd03d7da2"],"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":"0.512%","meaning":"FIRST EPSS model v2026.06.15; exploitation probability over 30 days, percentile 0.43713. Missing scores are unknown.","source_id":"sr-0ba91b1a60b24581dca7c74fd03d7da2"}],"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-4b291f7d0df2ad13e1aadcd1a0c2b842","url":"https://github.com/advisories/GHSA-8f2v-2qhj-gfwg","basis":"vendor_advisory","notes":"GitHub-origin advisory, CC-BY-4.0; OSV is an aggregate copy, not independent corroboration.","title":"GHSA-8f2v-2qhj-gfwg","publisher":"GitHub Advisory Database via OSV","observed_at":"2026-10-31T21:42:10.668Z"},{"id":"sr-0ba91b1a60b24581dca7c74fd03d7da2","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-52771","publisher":"FIRST EPSS","observed_at":"2026-10-31T22:06:15.382Z"}],"affected_context":[{"certainty":"source_listed","source_ids":["sr-4b291f7d0df2ad13e1aadcd1a0c2b842"],"technology":"yeswiki/yeswiki","known_exclusions":[],"conditions_summary":"## Summary\n`ApiController::deletePage()` interpolates a page tag retrieved from the database into a `DELETE FROM …_links WHERE to_tag = '$tag'` query without escaping. The page tag is attacker-controlled — the `POST /api/pages/{tag}` API accepts arbitrary URL-encoded values, including single quotes, and stores them. A low-privilege authenticated user can therefore create a page whose tag is a SQL fragment, make the page non-orphaned via the standard `{{include page=\"…\"}}` link mechanism, and then invoke the delete endpoint to execute arbitrary SQL inside the wiki database - including time-based blind data exfiltration from any table.\n\nThis is a **classic second-order SQL injection**: the `INSERT` correctly escapes the value, so the malicious tag is stored intact and the input passes every \"is this value safe to put in the database?\" check; the sink is the *read-back-and-reuse* path, where escaping is omitted.\n\n## Details\n### Affected component\n\n* **File:** `includes/controllers/ApiController.php`\n* **Method:** `ApiController::deletePage($tag)`\n* **Route:** `@Route(\"/api/pages/{tag}\", methods={\"DELETE\"}, options={\"acl\":{\"+\"}})` — `acl:\"+\"` means *any authenticated user*.\n* **Sink:**","public_affected_ranges":["ECOSYSTEM: introduced 4.2.0; fixed 4.6.6"]}],"null_published_at":"2026-10-31T22:13:44.229Z","source_updated_at":"2026-07-09T21:26:42.402Z","source_disclosed_at":"2026-07-09T21:00:14.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:42:10.668Z"}],"next_cursor":null,"snapshot_revision":"42594"}