{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2025-71281 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2025-71281 yet. Limit exposure of the affected software until one is available.","what":"CVE-2025-71281 is a high-severity code injection vulnerability in XenForo, published on 1 Apr 2026. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2025-71281 and fix it if it is affected.\n\nWhat it is: CVE-2025-71281 is a high-severity code injection vulnerability in XenForo, published on 1 Apr 2026. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2025-71281 in the wild and no public exploit code.\n\nAffected product: XenForo. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2025-71281/ (Markdown: https://insights.sbomify.com/CVE-2025-71281/index.md)","id":"CVE-2025-71281","markdown":"https://insights.sbomify.com/CVE-2025-71281/index.md","name":"CVE-2025-71281","record":{"aliases":["GHSA-gvjw-m4hx-6454"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"XenForo forum software","requires_auth":"low_privilege","summary":"Attackers can bypass template method restrictions to invoke unauthorized methods, potentially leading to code execution in XenForo installations.","user_interaction":"not_required","vuln_class":"code_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"VulnCheck","cpe":[{"product":"xenforo","vendor":"xenforo"}],"cvss":{"score":8.7,"severity":"high","source":"cna","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","version":"4.0"},"cwes":[{"id":"CWE-94","name":"Improper Control of Generation of Code"}],"description":"XenForo before 2.3.7 does not properly restrict methods callable from within templates. A loose prefix match was used instead of a stricter first-word match for methods accessible through callbacks and variable method calls in templates, potentially allowing unauthorized method invocations.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":null,"headline":"XenForo Template Method Call Restriction Bypass","id":"CVE-2025-71281","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"code_injection","year":"2025"},"n_packages":0,"n_references":2,"next":{"headline":"XenForo Path Disclosure via open_basedir Exceptions","id":"CVE-2025-71282"},"packages":[],"prev":{"headline":"XenForo Local Account Page Caching Information Disclosure","id":"CVE-2025-71280"},"products":["XenForo"],"published":"2026-04-01","related":[{"cvss_score":9.3,"headline":"XenForo Passkey Security Bypass","id":"CVE-2025-71279","kev_date_added":null,"published":"2026-04-01"},{"cvss_score":9.1,"headline":"XenForo \u003c 2.3.13 Authentication Bypass via OAuth2 Token Endpoint","id":"CVE-2026-73309","kev_date_added":null,"published":"2026-09-08"},{"cvss_score":9.1,"headline":"XenForo \u003c 2.3.13 OAuth2 Authorization Code Reuse","id":"CVE-2026-73311","kev_date_added":null,"published":"2026-09-08"},{"cvss_score":9.1,"headline":"XenForo \u003c 2.3.13 Refresh Token Replay via Expired Access Token","id":"CVE-2026-73312","kev_date_added":null,"published":"2026-09-08"},{"cvss_score":8.8,"headline":"Xenforo before 2.2.16 allows CSRF.","id":"CVE-2024-38457","kev_date_added":null,"published":"2024-06-16"},{"cvss_score":8.8,"headline":"Code injection in n/a","id":"CVE-2024-38458","kev_date_added":null,"published":"2024-06-16"},{"cvss_score":8.7,"headline":"XenForo \u003c 2.3.13 Signature Verification Bypass via PayPal REST Webhook","id":"CVE-2026-73314","kev_date_added":null,"published":"2026-09-08"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-04-03","vendors":["XenForo"]},"summary":"Attackers can bypass template method restrictions to invoke unauthorized methods, potentially leading to code execution in XenForo installations.","url":"https://insights.sbomify.com/CVE-2025-71281/"}