{"answers":{"affected":"3 open source packages ship an affected version, including bugsink. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-27614 exists.","fix":"Upgrade bugsink to 2.0.13 or later.","what":"CVE-2026-27614 is a critical cross-site scripting vulnerability in bugsink, published on 25 Feb 2026. 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-2026-27614 and fix it if it is affected.\n\nWhat it is: CVE-2026-27614 is a critical cross-site scripting vulnerability in bugsink, published on 25 Feb 2026. 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-2026-27614 exists.\n\nAffected packages and fixed versions:\n- bugsink (PyPI): affected all versions; fixed in 2.0.13\n- bugsink (PyPI): affected all versions; fixed in 2.0.13\n- bugsink (PyPI): affected all versions; fixed in 2.0.13\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-2026-27614/ (Markdown: https://insights.sbomify.com/CVE-2026-27614/index.md)","id":"CVE-2026-27614","markdown":"https://insights.sbomify.com/CVE-2026-27614/index.md","name":"CVE-2026-27614","record":{"aliases":["GHSA-vp6q-7m36-pq3w","PYSEC-2026-301"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["code_execution","privilege_escalation"],"network_reachable":"yes","non_default_config":false,"product_category":"Bugsink error tracking","requires_auth":"none","summary":"An unauthenticated attacker can inject JavaScript into error events, which executes in an administrator's browser when viewed, allowing privilege escalation.","user_interaction":"required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"bugsink","vendor":"bugsink"}],"cvss":{"score":9.3,"severity":"critical","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N","version":"3.1"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"description":"Bugsink is a self-hosted error tracking tool. In versions prior to 2.0.13, an unauthenticated attacker who can submit events to a Bugsink project can store arbitrary JavaScript in an event. The payload executes only if a user explicitly views the affected Stacktrace in the web UI. When Pygments returns more lines than it was given (a known upstream quirk that triggers with Ruby heredoc-style input), `_pygmentize_lines()` in `theme/templatetags/issues.py:75-77` falls back to returning the raw input lines. `mark_safe()` at line 111-113 is then applied unconditionally - including to those unsanitized raw lines. Since DSN endpoints are public by Sentry protocol, no account is needed to inject. The payload sits in the database until an admin looks at the event. Successful exploitation requires that the attacker to be able to submit events to the project (i.e. knows the DSN or can access a client that uses it), the Bugsink ingest endpoint is reachable to the attacker, and an administrator explicitly views the crafted event in the UI. Under those conditions, the attacker can execute JavaScript in the administrator’s browser and act with that user’s privileges within Bugsink. Version 2.0.13 fixes the vulnerability.","ecosystems":["PyPI"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"Bugsink is vulnerable to Stored XSS via Pygments fallback in stacktrace rendering","id":"CVE-2026-27614","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":null,"products":[],"type":"xss","year":"2026"},"n_packages":3,"n_references":3,"next":{"headline":"ADB-Explorer: UNC Path Support in ManualAdbPath Leads to Remote Code Execution (RCE)","id":"CVE-2026-27615"},"packages":[{"ecosystem":"PyPI","fixed":["2.0.13"],"introduced":["0"],"last_affected":[],"package":"bugsink","purl":null,"source":"GHSA-vp6q-7m36-pq3w"},{"ecosystem":"PyPI","fixed":["2.0.13"],"introduced":["0"],"last_affected":[],"package":"bugsink","purl":"pkg:pypi/bugsink","source":"GHSA-vp6q-7m36-pq3w"},{"ecosystem":"PyPI","fixed":["2.0.13"],"introduced":["0"],"last_affected":[],"package":"bugsink","purl":"pkg:pypi/bugsink","source":"PYSEC-2026-301"}],"prev":{"headline":"CGI Parameter Injection (Bypass of STRICT_CGI_PARAMS and EscapeShellParam)","id":"CVE-2026-27613"},"products":["bugsink"],"published":"2026-02-25","related":[{"cvss_score":7.1,"headline":"Bugsink affected by authenticated arbitrary file write in artifactbundle/assemble","id":"CVE-2026-40162","kev_date_added":null,"published":"2026-04-10"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"PyPA Advisory Database","prefix":"PYSEC"},{"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":"total"},"state":"PUBLISHED","updated":"2026-02-25","vendors":["bugsink"]},"summary":"An unauthenticated attacker can inject JavaScript into error events, which executes in an administrator's browser when viewed, allowing privilege escalation.","url":"https://insights.sbomify.com/CVE-2026-27614/"}