{"id":"CVE-2026-111699","revision":"6f3a633ae9ff4781af5c32a0c5046c07","records":[{"revision":"6f3a633ae9ff4781af5c32a0c5046c07","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-111699","aliases":[],"title":"Niefy wx-api through 0.8.2 Authentication Bypass via Unverified openid Cookie","description":"Niefy wx-api through 0.8.2 contains an authentication bypass vulnerability that allows unauthenticated attackers to impersonate WeChat fans by supplying a raw openid cookie to fan-facing controllers. Attackers knowing a victim's openid can call /wxUser/getUserInfo and /wxUserTags endpoints to read nickname, phone, unionid and tags, and add or remove fan tags.","state":0,"publishedAt":"2026-10-16T17:39:53.049+00:00","modifiedAt":"2026-10-21T21:13:48.951+00:00","affected":[{"ecosystem":"Vendor product","name":"wx-api","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"niefy\",\n                    \"product\": \"wx-api\",\n                    \"defaultStatus\": \"unaffected\",\n                    \"versions\": [\n                        {\n                            \"version\": \"0\",\n                            \"lessThanOrEqual\": \"0.8.2\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"semver\"\n                        }\n                    ],\n                    \"packageURL\": \"pkg:github/niefy/wx-api\",\n                    \"repo\": \"https://github.com/niefy/wx-api\"\n                }"}],"metrics":[{"system":"CVSS 4.0","vector":"CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N","score":6.3,"severity":"MEDIUM"},{"system":"CVSS 3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N","score":4.8,"severity":"MEDIUM"}],"references":["https://hackmd.io/@hieuPenguinnn/wx-api-cross-tenant-idor-and-unauth-fan-pii","https://github.com/niefy/wx-api/blob/0.8.2/src/main/java/com/github/niefy/modules/wx/controller/WxUserController.java#L31-L37","https://github.com/niefy/wx-api/blob/0.8.2/src/main/java/com/github/niefy/modules/wx/controller/WxUserTagsController.java#L31-L45","https://github.com/niefy/wx-api/blob/0.8.2/src/main/java/com/github/niefy/config/ShiroConfig.java#L43-L49","https://www.vulncheck.com/advisories/niefy-wx-api-through-0.8.2-authentication-bypass-via-unverified-openid-cookie"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-111699","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-111699","identifiers":["CVE-2026-111699"]},"retained":false,"historicalAffected":[]}],"coverage":[]}