{"id":"CVE-2024-8484","published":"2024-09-25T02:05:14Z","modified":"2026-04-08T16:59:36Z","title":"REST API TO MiniProgram <= 4.7.1 - Unauthenticated SQL Injection","vendor":"xjb","product":"REST API TO MiniProgram","tier":"tail","description":{"text":"The REST API TO MiniProgram plugin for WordPress is vulnerable to SQL Injection via the 'order' parameter of the /wp-json/watch-life-net/v1/comment/getcomments REST API endpoint in all versions up to, and including, 4.7.1 due to insufficient escaping on the user supplied parameter and lack of sufficient preparation on the existing SQL query.  This makes it possible for unauthenticated attackers to append additional SQL queries into already existing queries that can be used to extract sensitive information from the database.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.03761,"percentile":0.90167,"provenance":"source"},"cwes":[{"id":"CWE-89","name":"Improper Neutralization of Special Elements used in an SQL Command"}],"references":[{"url":"https://www.wordfence.com/threat-intel/vulnerabilities/id/6e0945eb-ceec-4536-822a-fe864c21b580?source=cve","tags":[]},{"url":"https://plugins.trac.wordpress.org/browser/rest-api-to-miniprogram/tags/4.7.0/includes/api/ram-rest-comments-controller.php#L247","tags":[]},{"url":"https://plugins.trac.wordpress.org/changeset/3337740#file63","tags":[]}],"priority":{"score":28.3,"factors":[{"name":"EPSS percentile","points":18.03},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":5.25}]},"exploitSources":{"pocGithub":{"count":1,"skipped":0,"earliest":"2024-09-24","earliestUrl":"https://github.com/RandomRobbieBF/CVE-2024-8484","repos":[{"name":"RandomRobbieBF/CVE-2024-8484","url":"https://github.com/RandomRobbieBF/CVE-2024-8484","stars":1,"created":"2024-09-24"}]},"nuclei":[{"id":"CVE-2024-8484","name":"REST API TO MiniProgram <= 4.7.1 - SQL Injection","severity":"high","path":"http/cves/2024/CVE-2024-8484.yaml","url":"https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2024/CVE-2024-8484.yaml"}],"first":{"date":"2024-09-24","source":"PoC-in-GitHub","url":"https://github.com/RandomRobbieBF/CVE-2024-8484"},"provenance":"source"},"vendorSlug":"xjb","affectedVersions":[{"vendor":"xjb","product":"REST API TO MiniProgram","versions":["<= 4.7.1"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2024-09-25T13:21:46.419751Z","from":"CISA ADP","provenance":"source"},"summary":{"text":"The REST API TO MiniProgram WordPress plugin (xjb) is vulnerable to SQL injection through the 'order' parameter of its /wp-json/watch-life-net/v1/comment/getcomments endpoint, caused by insufficient escaping of user input and a SQL query that lacks proper preparation. An unauthenticated remote attacker can send a crafted request to this endpoint, with no user interaction or special configuration required, to append additional SQL queries and extract sensitive information from the database.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-21T04:18:48Z"},"euvd":{"id":"EUVD-2024-49215","exploited":false,"provenance":"source"}}