Nixpkgs security tracker

Try the new UI
Login with GitHub

Suggestion detail

Untriaged
Permalink CVE-2026-61456
5.1 MEDIUM
  • CVSS version (CVSS): 4.0
  • Attack Vector (AV): Network (N)
  • Attack Complexity (AC): Low (L)
  • Attack Requirement (AT): None (N)
  • Privileges Required (PR): Low (L)
  • User Interaction (UI): Passive (P)
  • Vulnerable System Impact Confidentiality (VC): Low (L)
  • Vulnerable System Impact Integrity (VI): Low (L)
  • Vulnerable System Impact Availability (VA): None (N)
  • Subsequent System Impact Confidentiality (SC): None (N)
  • Subsequent System Impact Integrity (SI): None (N)
  • Subsequent System Impact Availability (SA): None (N)
  • Modified Attack Vector (MAV): Network (N)
  • Modified Attack Complexity (MAC): Low (L)
  • Modified Attack Requirement (MAT): None (N)
  • Modified Privileges Required (MPR): Low (L)
  • Modified User Interaction (MUI): Passive (P)
  • Modified Vulnerable System Impact Confidentiality (MVC): Low (L)
  • Modified Vulnerable System Impact Integrity (MVI): Low (L)
  • Modified Vulnerable System Impact Availability (MVA): None (N)
  • Modified Subsequent System Impact Confidentiality (MSC): Negligible (N)
  • Modified Subsequent System Impact Integrity (MSI): Negligible (N)
  • Modified Subsequent System Impact Availability (MSA): Negligible (N)
  • Safety (S): Not Defined (X)
  • Automatable (AU): Not Defined (X)
  • Recovery (R): Not Defined (X)
  • Value Density (V): Not Defined (X)
  • Vulnerability Response Effort (RE): Not Defined (X)
  • Provider Urgency (U): Not Defined (X)
  • Confidentiality Req. (CR): Not Defined (X)
  • Integrity Req. (IR): Not Defined (X)
  • Availability Req. (AR): Not Defined (X)
  • Exploit Maturity (E): Not Defined (X)
created 2 months, 1 week ago Activity log
  • Created suggestion
Grav before 1.0.3 Stored XSS via SVG Upload API

The Grav API plugin (getgrav/grav-plugin-api) before 1.0.3 fails to sanitize SVG files uploaded through the POST /api/v1/media endpoint. The HandlesMediaUploads::processUploadedFile() method validates only the file extension and never invokes Security::sanitizeSVG(), so an authenticated attacker with the api.media.write permission can upload an SVG containing arbitrary JavaScript. The file is stored unmodified and served with Content-Type: image/svg+xml; when an administrator opens it in a browser (directly or via <object>/<iframe>), the embedded script executes in their session context, enabling cookie theft and session hijacking.

Affected products

grav
  • <1.0.3
  • ==1.0.3

Matching in nixpkgs

pkgs.grav

Fast, simple, and flexible, file-based web platform

  • nixos-unstable -
  • nixos-26.05 -

pkgs.grav_2

Fast, simple, and flexible, file-based web platform

  • nixos-unstable -
    • nixos-unstable-small 2.1.8

pkgs.gravit

Beautiful OpenGL-based gravity simulator

  • nixos-unstable -
    • nixos-unstable-small 0.5.1
  • nixos-26.05 -
    • nixos-26.05-small 0.5.1

pkgs.antigravity

Agentic development platform, evolving the IDE into the agent-first era

  • nixos-unstable -
    • nixos-unstable-small 2.5.5
  • nixos-26.05 -

pkgs.antigravity-acp

Google's AI coding agent. Official ACP server powered by Antigravity

  • nixos-unstable -
    • nixos-unstable-small 1.1.1

pkgs.antigravity-cli

Google's Go-based terminal user interface (TUI) agent client

  • nixos-unstable -
    • nixos-unstable-small 1.2.3

pkgs.antigravity-fhs

Wrapped variant of antigravity-ide which launches in a FHS compatible environment, should allow for easy usage of extensions without nix-specific modifications

  • nixos-unstable -
    • nixos-unstable-small 2.5.5
  • nixos-26.05 -

pkgs.antigravity-hub

Desktop environment for managing multiple autonomous agents across independent projects

  • nixos-unstable -

pkgs.antigravity-ide

Agentic development platform, evolving the IDE into the agent-first era

  • nixos-unstable -
    • nixos-unstable-small 2.5.5

pkgs.antigravity-ide-fhs

Wrapped variant of antigravity-ide which launches in a FHS compatible environment, should allow for easy usage of extensions without nix-specific modifications

  • nixos-unstable -
    • nixos-unstable-small 2.5.5

pkgs.stardust-xr-gravity

Utility to launch apps and stardust clients at an offset

  • nixos-unstable -
  • nixos-26.05 -

pkgs.bulwark-plugins.gravatar

Resolves Gravatar profile pictures for email contacts via the avatar transform hook

  • nixos-unstable -
    • nixos-unstable-small 1.3.1

pkgs.gnomeExtensions.gravatar

Synchronize GNOME Shell user icon with an avatar service, one of Gravatar or Libravatar.

  • nixos-unstable -
    • nixos-unstable-small 10
  • nixos-26.05 -
    • nixos-26.05-small 10

pkgs.porting-advisor-for-graviton

AWS Porting Advisor for Graviton helps customers assess and prepare their applications for migration to AWS Graviton processors

  • nixos-unstable -
    • nixos-unstable-small 1.1.1