{"answers":{"affected":"It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-36816 exists.","fix":"No fix has been published for CVE-2023-36816 yet. Limit exposure of the affected software until one is available.","what":"CVE-2023-36816 is a medium-severity cross-site scripting vulnerability in Bubka 2FAuth, published on 3 Jul 2023. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2023-36816 and fix it if it is affected.\n\nWhat it is: CVE-2023-36816 is a medium-severity cross-site scripting vulnerability in Bubka 2FAuth, published on 3 Jul 2023. It can only be exploited from the same machine or local network, 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-36816 exists.\n\nAffected product: Bubka 2FAuth. 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-36816/ (Markdown: https://insights.sbomify.com/CVE-2023-36816/index.md)","id":"CVE-2023-36816","markdown":"https://insights.sbomify.com/CVE-2023-36816/index.md","name":"CVE-2023-36816","record":{"aliases":["GHSA-cwhq-2mcq-pp9q"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["code_execution","account_takeover"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"2FAuth web app","requires_auth":"none","summary":"Attackers can inject malicious scripts via the account/service field in 2FAuth, potentially compromising user sessions and data.","user_interaction":"required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"2fauth","vendor":"2fauth"}],"cvss":{"score":6.1,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H","version":"3.1"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"description":"2FA is a Web app to manage Two-Factor Authentication (2FA) accounts and generate their security codes. Cross site scripting (XSS) injection can be done via the account/service field. This was tested in docker-compose environment. This vulnerability has been patched in version 4.0.3.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":false,"headline":"Cross-Site Scripting (XSS) at Account creation in 2FAuth","id":"CVE-2023-36816","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"xss","year":"2023"},"n_packages":0,"n_references":2,"next":{"headline":"The King's Temple Church website Leaked Stripe API Key in Public Code Repository","id":"CVE-2023-36817"},"packages":[],"prev":{"headline":"Sealos billing system permission control defect","id":"CVE-2023-36815"},"products":["2FAuth"],"published":"2023-07-03","related":[{"cvss_score":7.8,"headline":"2FAuth has Blind SSRF in image parameter allows internal network access and more","id":"CVE-2026-32133","kev_date_added":null,"published":"2026-03-11"},{"cvss_score":7.5,"headline":"2FAuth vulnerable to Server Side Request Forgery + URI validation bypass in 2fauth /api/v1/twofaccounts/preview","id":"CVE-2024-52598","kev_date_added":null,"published":"2024-11-20"},{"cvss_score":6.5,"headline":"Race condition in n/a","id":"CVE-2025-45731","kev_date_added":null,"published":"2025-07-24"},{"cvss_score":6.1,"headline":"2FAuth vulnerable to stored cross-site scripting via SVG upload and direct access render","id":"CVE-2024-52597","kev_date_added":null,"published":"2024-11-20"}],"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":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2024-11-22","vendors":["Bubka"]},"summary":"Attackers can inject malicious scripts via the account/service field in 2FAuth, potentially compromising user sessions and data.","url":"https://insights.sbomify.com/CVE-2023-36816/"}