{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-52766",
        "assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
        "state": "PUBLISHED",
        "assignerShortName": "GitHub_M",
        "dateReserved": "2026-06-08T17:13:43.064Z",
        "datePublished": "2026-09-04T23:40:12.087Z",
        "dateUpdated": "2026-09-04T23:40:12.087Z"
    },
    "containers": {
        "cna": {
            "title": "YesWiki: Unauthenticated arbitrary page deletion via `{{erasespamedcomments}}` action",
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "cweId": "CWE-276",
                            "lang": "en",
                            "description": "CWE-276: Incorrect Default Permissions",
                            "type": "CWE"
                        }
                    ]
                },
                {
                    "descriptions": [
                        {
                            "cweId": "CWE-862",
                            "lang": "en",
                            "description": "CWE-862: Missing Authorization",
                            "type": "CWE"
                        }
                    ]
                }
            ],
            "metrics": [
                {
                    "cvssV3_1": {
                        "attackComplexity": "LOW",
                        "attackVector": "NETWORK",
                        "availabilityImpact": "HIGH",
                        "baseScore": 9.1,
                        "baseSeverity": "CRITICAL",
                        "confidentialityImpact": "NONE",
                        "integrityImpact": "HIGH",
                        "privilegesRequired": "NONE",
                        "scope": "UNCHANGED",
                        "userInteraction": "NONE",
                        "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H",
                        "version": "3.1"
                    }
                }
            ],
            "references": [
                {
                    "name": "https://github.com/YesWiki/yeswiki/security/advisories/GHSA-6x7x-gcmf-7r8x",
                    "tags": [
                        "x_refsource_CONFIRM"
                    ],
                    "url": "https://github.com/YesWiki/yeswiki/security/advisories/GHSA-6x7x-gcmf-7r8x"
                },
                {
                    "name": "https://github.com/YesWiki/yeswiki/commit/ed5b548a705c8091ba0282aaaba73ddda976abef",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/YesWiki/yeswiki/commit/ed5b548a705c8091ba0282aaaba73ddda976abef"
                },
                {
                    "name": "https://github.com/YesWiki/yeswiki/releases/tag/v4.6.6",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/YesWiki/yeswiki/releases/tag/v4.6.6"
                }
            ],
            "affected": [
                {
                    "vendor": "YesWiki",
                    "product": "yeswiki",
                    "versions": [
                        {
                            "version": "< 4.6.6",
                            "status": "affected"
                        }
                    ]
                }
            ],
            "providerMetadata": {
                "orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
                "shortName": "GitHub_M",
                "dateUpdated": "2026-09-04T23:40:12.087Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "YesWiki is a wiki system written in PHP. Prior to version 4.6.6, the {{erasespamedcomments}} wiki action (actions/EraseSpamedCommentsAction.php) accepts a suppr[] array from POST and deletes every wiki page whose tag appears in that array, with no authorization check anywhere in the action body or in the page-deletion path it invokes. Combined with YesWiki's allow-by-default action ACL model, any user who has page write access, which is the default for everyone (default_write_acl='*') on a fresh install can permanently delete arbitrary wiki pages, including the front page, admin pages, and pages owned by other users. This issue has been patched in version 4.6.6."
                }
            ],
            "source": {
                "advisory": "GHSA-6x7x-gcmf-7r8x",
                "discovery": "UNKNOWN"
            }
        }
    }
}