Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. gregwar/rst
  4. ›
  5. GMS-2016-80

GMS-2016-80: Local File Inclusion Vulnerability

October 31, 2016

Gregwar is vulnerable to local file inclusion when including RST templates.

References

  • github.com/Gregwar/RST/pull/34
  • hackerone.com/reports/179034
  • twitter.com/CiPHPerCoder/status/793076643468304384

Code Behaviors & Features

Detect and mitigate GMS-2016-80 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 1.0.3

Fixed versions

  • v1.0.3

Solution

Upgrade to version 1.0.3 and set the "include" parameter according to your needs. If you're loading RST templates from a database, disable include. If you're loading RST templates from the filesystem and need include for snippets, jail all includes to within a common directory.

Source file

packagist/gregwar/rst/GMS-2016-80.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Sun, 08 Nov 2026 00:16:00 +0000.