{"cve":"CVE-2026-27614","nvd":{"published":"2026-02-25T03:16:05.803","modified":"2026-06-17T10:27:23.907","status":"Analyzed","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1},"cwes":["CWE-79"],"references":["https://github.com/bugsink/bugsink/commit/e784d6aeb0d5f29b40c2779d2544c2b9ef097ee9","https://github.com/bugsink/bugsink/releases/tag/2.0.13","https://github.com/bugsink/bugsink/security/advisories/GHSA-vp6q-7m36-pq3w"],"products":["bugsink:bugsink"],"source":"nvd","synced_at":"2026-10-19T22:24:17.937441719+00:00"},"epss":{"cve":"CVE-2026-27614","score":0.00336,"percentile":0.27063,"date":"2026-11-01"},"kev":null,"osv":[{"id":"GHSA-vp6q-7m36-pq3w","url":"https://osv.dev/vulnerability/GHSA-vp6q-7m36-pq3w","summary":"Bugsink is vulnerable to Stored XSS via Pygments fallback in stacktrace rendering","modified":"2026-10-27T15:30:04.325516483Z","packages":[{"ecosystem":"PyPI","name":"bugsink","purl":"pkg:pypi/bugsink","ranges":["<2.0.13"],"fixed":["2.0.13"]}]},{"id":"PYSEC-2026-301","url":"https://osv.dev/vulnerability/PYSEC-2026-301","summary":"Bugsink is vulnerable to Stored XSS via Pygments fallback in stacktrace rendering","modified":"2026-07-13T16:15:29.399904893Z","packages":[{"ecosystem":"PyPI","name":"bugsink","purl":"pkg:pypi/bugsink","ranges":["<2.0.13"],"fixed":["2.0.13"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}