packagist package report

Is sylius/resource-bundle safe?

4 known vulnerabilities, worst severity CRITICAL.

// reach

0 direct dependencies

none carry a known advisory

    0 packages depend on it

    dependents not yet indexed for this ecosystem

      Create a free accountfor every dependency path, dependent and what to upgrade
      // ai model usage

      Tracked for PyPI packages. HuggingFace models declare Python dependencies, so packagist packages are not covered.


      cvss
      9.6
      critical

      CVSS v3.1 base score out of 10

      epss
      2.1%
      medium

      chance of exploitation in 30 days, 82nd percentile of all CVEs

      xyz score
      4.0
      medium

      CyberXYZ composite out of 10

      fig. 01 — GHSA-h6m7-j4h3-9rf5, the advisory selected below

      // 4 advisories

      GHSA-h6m7-j4h3-9rf5

      CRITICALGitHub ratingCVE-2020-15146
      // impact

      Request parameters injected inside an expression evaluated by symfony/expression-language package haven't been sanitized properly. This allows the attacker to access any public service by manipulating that request parameter, allowing for Remote Code Execution.

      The vulnerable versions include: <=1.3.13 || >=1.4.0 <=1.4.6 || >=1.5.0 <=1.5.1 || >=1.6.0 <=1.6.3.

      // example
      sylius_grid:
          grids:
              foo:
                  fields:
                      bar:
                          options:
                              baz: "expr:service('sylius.repository.product').find($id)"

      In this case, $id can be prepared in a way that calls other services.

      If you visit /route?id="~service('doctrine').getManager().getConnection().executeQuery("DELETE * FROM TABLE")~", it will result in a following expression expr:service('repository').find(""~service('doctrine').getManager().getConnection().executeQuery("DELETE * FROM TABLE")~""), which will execute a query on the currently connected database.

      To find a vulnerability in your application, look for any routing definition that uses request parameters inside expression language.

      // patches

      This issue has been patched for versions 1.3.14, 1.4.7, 1.5.2 and 1.6.4. Versions prior to 1.3 were not patched.

      // workarounds

      The fix requires adding addslashes in OptionsParser::parseOptionExpression to sanitize user input before evaluating it using the expression language.

      - return is_string($variable) ? sprintf('"%s"', $variable) : $variable;
      + return is_string($variable) ? sprintf('"%s"', addslashes($variable)) : $variable;
      // acknowledgements

      This security issue has been reported by Craig Blanchette (@isometriks), thanks a lot!

      // for more information

      If you have any questions or comments about this advisory:

      • Email us at [security@sylius.com](mailto:security@sylius.com)
      // cvss v3.1 vector

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

      Attack vector
      Network
      Attack complexity
      Low
      Privileges required
      Low
      User interaction
      None
      Scope
      Changed
      Confidentiality
      High
      Integrity
      High
      Availability
      None

      Checked 2026-11-07 at 14:14 UTC. The most recent advisory here was published 2024-05-29. Updated continuously from NVD, GHSA, OSV and CNA feeds.

      Think a verdict here is wrong? Tell us — we respond within 2 business days.