{"answers":{"affected":"It affects 63 products.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2020-10257 exists.","fix":"No fix has been published for CVE-2020-10257 yet. Limit exposure of the affected software until one is available.","what":"CVE-2020-10257 is a critical code injection vulnerability in n/a, published on 9 Mar 2020. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2020-10257 and fix it if it is affected.\n\nWhat it is: CVE-2020-10257 is a critical code injection vulnerability in n/a, published on 9 Mar 2020. 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-2020-10257 exists.\n\nAffected product: n/a. 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-2020-10257/ (Markdown: https://insights.sbomify.com/CVE-2020-10257/index.md)","id":"CVE-2020-10257","markdown":"https://insights.sbomify.com/CVE-2020-10257/index.md","name":"CVE-2020-10257","record":{"aliases":["GHSA-x679-h3r8-6399"],"analysis":{"component_type":"cms_plugin","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"WordPress plugin","requires_auth":"none","summary":"Unauthenticated attackers can execute arbitrary PHP code via the ThemeREX Addons plugin due to missing access control and unsafe parameter handling.","user_interaction":"not_required","vuln_class":"code_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"addons","vendor":"themerex"},{"product":"aldo-gutenberg_wordpress_blog_theme","vendor":"themerex"},{"product":"amuli","vendor":"themerex"},{"product":"blabber","vendor":"themerex"},{"product":"bonkozoo_zoo","vendor":"themerex"},{"product":"briny-diving_wordpress_theme","vendor":"themerex"},{"product":"bugster-pests_control","vendor":"themerex"},{"product":"buzz_stone-magazine_\\\u0026_blog","vendor":"themerex"},{"product":"chainpress","vendor":"themerex"},{"product":"chit_club-board_games","vendor":"themerex"},{"product":"coinpress-cryptocurrency_magazine_\\\u0026_blog_wordpress_theme","vendor":"themerex"},{"product":"corredo_sport_event","vendor":"themerex"},{"product":"dronex-aerial_photography_services","vendor":"themerex"},{"product":"especio-food_gutenberg_theme","vendor":"themerex"},{"product":"fc_united-football","vendor":"themerex"},{"product":"gloss_blog","vendor":"themerex"},{"product":"gridiron","vendor":"themerex"},{"product":"hallelujah-church","vendor":"themerex"},{"product":"heaven_11-multiskin_property_theme","vendor":"themerex"},{"product":"helion-agency_\\\u0026portfolio","vendor":"themerex"},{"product":"hobo_digital_nomad_blog","vendor":"themerex"},{"product":"impacto_patronus_multi-landing","vendor":"themerex"},{"product":"justitia-multiskin_lawyer_theme","vendor":"themerex"},{"product":"kargo-freight_transport","vendor":"themerex"},{"product":"katelyn-gutenberg_wordpress_blog_theme","vendor":"themerex"},{"product":"kids_care","vendor":"themerex"},{"product":"kratz-digital_agency","vendor":"themerex"},{"product":"lingvico-language_learning_school","vendor":"themerex"},{"product":"maxify-startup_blog","vendor":"themerex"},{"product":"meals_and_wheels-food_truck","vendor":"themerex"},{"product":"modern_housewife-housewife_and_family_blog","vendor":"themerex"},{"product":"mystik-esoterics","vendor":"themerex"},{"product":"nazareth-church","vendor":"themerex"},{"product":"nelson-barbershop_\\+_tattoo_salon","vendor":"themerex"},{"product":"netmix-broadband_\\\u0026_telecom","vendor":"themerex"},{"product":"ozeum-museum","vendor":"themerex"},{"product":"partiso_electioncampaign","vendor":"themerex"},{"product":"piqes-creative_startup_\\\u0026_agency_wordpress_theme","vendor":"themerex"},{"product":"pixefy","vendor":"themerex"},{"product":"plumbing-repair\\,_building_\\\u0026_construction_wordpress_theme","vendor":"themerex"},{"product":"prider-pride_fest","vendor":"themerex"},{"product":"rare_radio","vendor":"themerex"},{"product":"renewal-plastic_surgeon_clinic","vendor":"themerex"},{"product":"rhodos-creative_corporate_wordpress_theme","vendor":"themerex"},{"product":"right_way","vendor":"themerex"},{"product":"rosalinda-vegetarian_\\\u0026_health_coach","vendor":"themerex"},{"product":"rumble-single_fighter_boxer\\,_news\\,_gym\\,_store","vendor":"themerex"},{"product":"samadhi-buddhist","vendor":"themerex"},{"product":"savejulia_personal_fundraising_campaign","vendor":"themerex"},{"product":"scientia-public_library","vendor":"themerex"},{"product":"skydiving_and_flying_company","vendor":"themerex"},{"product":"tacticool-shooting_range_wordpress_theme","vendor":"themerex"},{"product":"tantum-rent_a_car\\,_rent_a_bike\\,_rent_a_scooter_multiskin_theme","vendor":"themerex"},{"product":"tediss-soft_play_area\\,_cafe_\\\u0026_child_care_center","vendor":"themerex"},{"product":"topper_theme_and_skins","vendor":"themerex"},{"product":"tornados","vendor":"themerex"},{"product":"vapester","vendor":"themerex"},{"product":"vihara-ashram\\,_buddhist","vendor":"themerex"},{"product":"vixus-startup_\\/_mobile_application","vendor":"themerex"},{"product":"wellspring_water_filter_systems","vendor":"themerex"},{"product":"yolox-startup_magazine_\\\u0026_blog_wordpress_theme","vendor":"themerex"},{"product":"yottis-simple_portfolio","vendor":"themerex"},{"product":"yungen-digital\\/marketing_agency","vendor":"themerex"}],"cvss":{"score":9.8,"severity":"critical","source":"cna","vector":"CVSS:3.0/AC:L/AV:N/A:H/C:H/I:H/PR:N/S:U/UI:N","version":"3.0"},"cwes":[{"id":"CWE-94","name":"Improper Control of Generation of Code"},{"id":"CWE-862","name":"Missing Authorization"}],"description":"The ThemeREX Addons plugin before 2020-03-09 for WordPress lacks access control on the /trx_addons/v2/get/sc_layout REST API endpoint, allowing for PHP functions to be executed by any users, because includes/plugin.rest-api.php calls trx_addons_rest_get_sc_layout with an unsafe sc parameter.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":"2025-04-23","github_poc":1,"max_poc_stars":0,"metasploit":0,"nuclei":1,"refs":[{"date":"2025-04-23T18:41:57Z","kind":"github_poc","ref":"https://github.com/Darkcast/CVE-2020-10257","stars":0,"title":"CVE-2020-10257 exploit script"},{"date":null,"kind":"nuclei","ref":"http/cves/2020/CVE-2020-10257.yaml","stars":null,"title":"ThemeREX Addons - Remote Code Execution"}],"tier":"weaponised"},"has_fix":null,"headline":"Code injection in n/a","id":"CVE-2020-10257","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"code_injection","year":"2020"},"n_packages":0,"n_references":1,"next":{"headline":"Auth bypass in n/a","id":"CVE-2020-10262"},"packages":[],"prev":{"headline":"Weak cryptography in n/a","id":"CVE-2020-10256"},"products":["n/a"],"published":"2020-03-09","related":[{"cvss_score":9.8,"headline":"ThemeREX Addons \u003c= 2.32.3 - Unauthenticated Arbitrary File Upload in trx_addons_uploads_save_data","id":"CVE-2024-13448","kev_date_added":null,"published":"2025-01-28"},{"cvss_score":8.8,"headline":"ThemeREX Addons \u003c= 2.33.0 - Authenticated (Contributor+) Local File Inclusion via Shortcode","id":"CVE-2025-0682","kev_date_added":null,"published":"2025-01-25"},{"cvss_score":6.4,"headline":"Cross-site scripting in ThemeREX Addons","id":"CVE-2025-6997","kev_date_added":null,"published":"2025-07-19"}],"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":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-04","vendors":["n/a"]},"summary":"Unauthenticated attackers can execute arbitrary PHP code via the ThemeREX Addons plugin due to missing access control and unsafe parameter handling.","url":"https://insights.sbomify.com/CVE-2020-10257/"}