Advisory Database
  • Advisories
  • Dependency Scanning
  1. nuget
  2. ›
  3. scriban
  4. ›
  5. GHSA-7jvp-hj45-2f2m

GHSA-7jvp-hj45-2f2m: Scriban: Template Writes to Arbitrary CLR Properties via `TypedObjectAccessor` (Mass Assignment + `private` / `init` / `internal` Setter Bypass)

July 6, 2026

DeclarationDeveloper intentActual behavior
{ get; set; }writablewritable (mass assignment — A)
{ get; private set; }only the owning class writestemplate writes freely
{ get; internal set; }only the declaring assembly writestemplate writes freely
{ get; init; }immutable after construction (C# 9 language guarantee)template writes freely post-construction

References

  • github.com/advisories/GHSA-7jvp-hj45-2f2m
  • github.com/scriban/scriban/security/advisories/GHSA-7jvp-hj45-2f2m

Code Behaviors & Features

Detect and mitigate GHSA-7jvp-hj45-2f2m 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 before 7.2.2

Fixed versions

  • 7.2.2

Solution

Upgrade to version 7.2.2 or above.

Impact 7.5 HIGH

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

Learn more about CVSS

Weakness

  • CWE-284: Improper Access Control
  • CWE-915: Improperly Controlled Modification of Dynamically-Determined Object Attributes

Source file

nuget/scriban/GHSA-7jvp-hj45-2f2m.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Tue, 07 Jul 2026 12:18:58 +0000.