Read the docs
TI-2026-22000 Aliases CVE-2026-27614GHSA-vp6q-7m36-pq3w

Bugsink is vulnerable to Stored XSS via Pygments fallback in stacktrace rendering

Priority HIGH 75CWE-79Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
Required
Attack complexity
Low
Impact type
Cross-site scripting
Confidentiality · integrity · availability
High · High · None
Fix status
Fixed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-79.

Summary

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.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.00336 27th percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Fixed bugsink (bugsink): 2.0.13bugsink (PyPI): 2.0.13

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
No
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
bugsinkbugsinkbefore 2.0.132.0.13Patch availableCNA
—bugsink (PyPI)before 2.0.132.0.13Patch availableGHSA-vp6q-7m36-pq3w
  • bugsink Vendorbugsink Affected before 2.0.13 Fixed in 2.0.13 Patch available CNA
  • bugsink (PyPI) Vendor— Affected before 2.0.13 Fixed in 2.0.13 Patch available GHSA-vp6q-7m36-pq3w

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:bugsink:bugsink:*:*:*:*:*:*:*:*before 2.0.13Vulnerablebugsink
  • cpe:2.3:a:bugsink:bugsink:*:*:*:*:*:*:*:* Versions before 2.0.13 Vulnerable ·bugsink

Remediation

  • Fix · CNA bugsink (bugsink) Fixed in 2.0.13
  • Fix · GHSA-vp6q-7m36-pq3w bugsink (PyPI) Fixed in 2.0.13 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-27614
  2. 2026-10-03 Alias added: GHSA-vp6q-7m36-pq3w

References

  • TI-2026-28977 Bugsink affected by authenticated arbitrary file write in artifactbundle/assemble CVSS 3.1HIGH 7.1

Sources