{"answers":{"affected":"It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-30212 exists.","fix":"No fix has been published for CVE-2023-30212 yet. Limit exposure of the affected software until one is available.","what":"CVE-2023-30212 is a medium-severity cross-site scripting vulnerability in n/a, published on 26 Apr 2023. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2023-30212 and fix it if it is affected.\n\nWhat it is: CVE-2023-30212 is a medium-severity cross-site scripting vulnerability in n/a, published on 26 Apr 2023. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-30212 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-2023-30212/ (Markdown: https://insights.sbomify.com/CVE-2023-30212/index.md)","id":"CVE-2023-30212","markdown":"https://insights.sbomify.com/CVE-2023-30212/index.md","name":"CVE-2023-30212","record":{"aliases":["GHSA-565m-x34r-mrjv"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["code_execution","account_takeover"],"network_reachable":"yes","non_default_config":false,"product_category":"OURPHP CMS","requires_auth":"none","summary":"Cross-site scripting vulnerability in OURPHP allows attackers to inject malicious scripts via the out.php endpoint, potentially leading to session hijacking or code execution.","user_interaction":"required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"ourphp","vendor":"ourphp"}],"cvss":{"score":6.1,"severity":"medium","source":"cisa-adp","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","version":"3.1"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"description":"OURPHP \u003c= 7.2.0 is vulnerale to Cross Site Scripting (XSS) via /client/manage/ourphp_out.php.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":"2023-05-25","github_poc":15,"max_poc_stars":4,"metasploit":0,"nuclei":1,"refs":[{"date":"2023-05-27T06:43:44Z","kind":"github_poc","ref":"https://github.com/libasmon/Exploite-CVE-2023-30212-Vulnerability","stars":4,"title":"Docker environment and exploit the CVE-2023-30212 vulnerabilityVE-2023-30212 is a security vulnerability that affects versions of OURPHP prior to or equal to 7.2.0. This vulnerability allows for Cross-Site Scripting (XSS) attacks"},{"date":"2023-05-25T15:04:34Z","kind":"github_poc","ref":"https://github.com/kuttappu123/CVE-2023-30212-LAB","stars":1,"title":null},{"date":"2023-05-25T16:23:47Z","kind":"github_poc","ref":"https://github.com/Rishipatidar/CVE-2023-30212-POC-DOCKER-FILE","stars":1,"title":"This repository provides a Docker container for simulating the CVE-2023-30212 vulnerability, allowing you to practice and understand its impact. It includes a comprehensive guide to help you set up the container on your own computer. The documentation for the Docker creation process is also included."},{"date":"2023-06-20T09:08:38Z","kind":"github_poc","ref":"https://github.com/VisDev23/Vulnerable-Docker--CVE-2023-30212-","stars":1,"title":"This contains the necessary files and Docker to replicate A vulnerability in OURPHP that has a XSS Vulnerability (CVE-2023-30212)"},{"date":"2023-05-26T09:33:23Z","kind":"github_poc","ref":"https://github.com/mallutrojan/CVE-2023-30212-Lab","stars":0,"title":"GitHub repository with Dockerfile and files to create a vulnerable environment for CVE-2023-30212, enabling exploration of the exploitability of this security vulnerability. Ideal for research and security enthusiasts to study and understand the impact of the vulnerability in a controlled setting."},{"date":"2023-05-26T20:04:17Z","kind":"github_poc","ref":"https://github.com/Anandhu990/CVE-2023-30212_lab","stars":0,"title":null},{"date":"2023-05-27T04:24:12Z","kind":"github_poc","ref":"https://github.com/libas7994/CVE-2023-30212","stars":0,"title":"Docker environment and exploit the CVE-2023-30212 is a security vulnerability that affects versions of OURPHP prior to or equal to 7.2.0 .This vulnerability allows for Cross-Site Scripting (XSS) attacks"},{"date":"2023-05-27T05:06:17Z","kind":"github_poc","ref":"https://github.com/libasmon/-create-a-vulnerable-Docker-environment-that-is-susceptible-to-CVE-2023-30212","stars":0,"title":"Docker environment and exploit the CVE-2023-30212 vulnerabilityVE-2023-30212 is a security vulnerability that affects versions of OURPHP prior to or equal to 7.2.0. This vulnerability allows for Cross-Site Scripting (XSS) attacks"}],"tier":"weaponised"},"has_fix":null,"headline":"Cross-site scripting in n/a","id":"CVE-2023-30212","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"xss","year":"2023"},"n_packages":0,"n_references":1,"next":{"headline":"Information disclosure in n/a","id":"CVE-2023-30216"},"packages":[],"prev":{"headline":"SQL injection in n/a","id":"CVE-2023-30211"},"products":["n/a"],"published":"2023-04-26","related":[{"cvss_score":9.8,"headline":"SQL injection in n/a","id":"CVE-2023-30211","kev_date_added":null,"published":"2023-04-26"},{"cvss_score":6.1,"headline":"Cross-site scripting in n/a","id":"CVE-2023-30210","kev_date_added":null,"published":"2023-04-26"}],"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":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-02-03","vendors":["n/a"]},"summary":"Cross-site scripting vulnerability in OURPHP allows attackers to inject malicious scripts via the out.php endpoint, potentially leading to session hijacking or code execution.","url":"https://insights.sbomify.com/CVE-2023-30212/"}