{"answers":{"affected":"It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-5522 exists.","fix":"No fix has been published for CVE-2024-5522 yet. Limit exposure of the affected software until one is available.","what":"CVE-2024-5522 is a medium-severity SQL injection vulnerability in Unknown HTML5 Video Player , published on 20 Jun 2024. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2024-5522 and fix it if it is affected.\n\nWhat it is: CVE-2024-5522 is a medium-severity SQL injection vulnerability in Unknown HTML5 Video Player , published on 20 Jun 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-5522 exists.\n\nAffected product: Unknown HTML5 Video Player . 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-2024-5522/ (Markdown: https://insights.sbomify.com/CVE-2024-5522/index.md)","id":"CVE-2024-5522","markdown":"https://insights.sbomify.com/CVE-2024-5522/index.md","name":"CVE-2024-5522","record":{"aliases":["GHSA-3vf3-j8cr-x4g6"],"analysis":{"component_type":"cms_plugin","fix_type":"upgrade","impacts":["data_read","data_modify"],"network_reachable":"yes","non_default_config":false,"product_category":"WordPress plugin","requires_auth":"none","summary":"Unauthenticated attackers can perform SQL injection via a REST route in the HTML5 Video Player WordPress plugin, potentially accessing or modifying database content.","user_interaction":"not_required","vuln_class":"sql_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"WPScan","cpe":[{"product":"html5_video_player","vendor":"bplugins"}],"cvss":{"score":6.5,"severity":"medium","source":"cisa-adp","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","version":"3.1"},"cwes":[{"id":"CWE-89","name":"Improper Neutralization of Special Elements used in an SQL Command"}],"description":"The HTML5 Video Player  WordPress plugin before 2.5.27 does not sanitize and escape a parameter from a REST route before using it in a SQL statement, allowing unauthenticated users to perform SQL injection attacks","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":"2024-09-11","github_poc":2,"max_poc_stars":10,"metasploit":0,"nuclei":1,"refs":[{"date":"2024-10-01T16:02:12Z","kind":"github_poc","ref":"https://github.com/geniuszly/CVE-2024-5522","stars":10,"title":"A PoC exploit scanner for CVE-2024-5522 vulnerability in WordPress websites"},{"date":"2024-09-11T04:46:46Z","kind":"github_poc","ref":"https://github.com/kryptonproject/CVE-2024-5522-PoC","stars":0,"title":null},{"date":null,"kind":"nuclei","ref":"http/cves/2024/CVE-2024-5522.yaml","stars":null,"title":"WordPress HTML5 Video Player \u003c 2.5.27 - SQL Injection"}],"tier":"weaponised"},"has_fix":null,"headline":"HTML5 Video Player \u003c 2.5.27 - Unauthenticated SQLi","id":"CVE-2024-5522","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"sql_injection","year":"2024"},"n_packages":0,"n_references":1,"next":{"headline":"SQL injection vulnerability in Astrotalks","id":"CVE-2024-5523"},"packages":[],"prev":{"headline":"Cross-Site Scripting stored in Alkacon OpenCMS","id":"CVE-2024-5521"},"products":["HTML5 Video Player "],"published":"2024-06-20","related":[{"cvss_score":8.6,"headline":"SQL injection in bplugins:html5 video player","id":"CVE-2024-1061","kev_date_added":null,"published":"2024-01-30"},{"cvss_score":5.4,"headline":"Html5 Video Player \u003c 2.5.19 - Subscriber+ Stored XSS","id":"CVE-2023-6485","kev_date_added":null,"published":"2024-01-01"},{"cvss_score":5.3,"headline":"Missing authorization in HTML5 Video Player – Embed and Play Videos in Custom Player","id":"CVE-2024-7727","kev_date_added":null,"published":"2024-09-11"},{"cvss_score":4.3,"headline":"WordPress HTML5 Video Player plugin \u003c= 2.5.30 - Broken Access Control vulnerability","id":"CVE-2024-43296","kev_date_added":null,"published":"2024-11-01"},{"cvss_score":4.3,"headline":"Missing authorization in HTML5 Video Player – Embed and Play Videos in Custom Player","id":"CVE-2024-7721","kev_date_added":null,"published":"2024-09-11"}],"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)"},{"class":"attribution","licence":"MIT","name":"Nuclei templates"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2024-08-01","vendors":["Unknown"]},"summary":"Unauthenticated attackers can perform SQL injection via a REST route in the HTML5 Video Player WordPress plugin, potentially accessing or modifying database content.","url":"https://insights.sbomify.com/CVE-2024-5522/"}