Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. @tdurieux/anonymous_github
  4. ›
  5. GHSA-g485-8j3v-p6x8

GHSA-g485-8j3v-p6x8: @tdurieux/anonymous_github Vulnerable to XSS via Unsanitized GitHub Repository Content Rendering in Anonymous GitHub Origin

May 5, 2026

Anonymous GitHub fetches repository content (e.g., markdown files) from GitHub’s API and renders it without sanitization. On the client side, markdown is parsed with marked (with sanitize: false) and injected into the DOM via $sce.trustAsHtml() + ng-bind-html, bypassing AngularJS’s built-in XSS protection. An attacker can craft a malicious GitHub repository whose README executes arbitrary JavaScript in the Anonymous GitHub origin.

References

  • github.com/advisories/GHSA-g485-8j3v-p6x8
  • github.com/tdurieux/anonymous_github
  • github.com/tdurieux/anonymous_github/security/advisories/GHSA-g485-8j3v-p6x8

Code Behaviors & Features

Detect and mitigate GHSA-g485-8j3v-p6x8 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 2.2.0 before 2.3.0, version 2.2.0

Fixed versions

  • 2.3.0

Solution

Upgrade to version 2.3.0 or above.

Impact 8.1 HIGH

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N

Learn more about CVSS

Weakness

  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
  • CWE-80: Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS)

Source file

npm/@tdurieux/anonymous_github/GHSA-g485-8j3v-p6x8.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sat, 09 May 2026 00:19:53 +0000.