Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. robrichards/xmlseclibs
  4. ›
  5. GHSA-2g98-f9jv-w8c5

GHSA-2g98-f9jv-w8c5: robrichards/xmlseclibs XPath injection

May 20, 2024

A vulnerability has been identified in the robrichards/xmlseclibs library, specifically related to XPath injection. The issue arises from inadequate filtering of user input before it is incorporated into XPath expressions.

References

  • github.com/FriendsOfPHP/security-advisories/blob/master/robrichards/xmlseclibs/2018-09-27.yaml
  • github.com/advisories/GHSA-2g98-f9jv-w8c5
  • github.com/robrichards/xmlseclibs
  • github.com/robrichards/xmlseclibs/commit/649032643f7aac493e91ca318da0339aec72aa4a

Code Behaviors & Features

Detect and mitigate GHSA-2g98-f9jv-w8c5 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 starting from 1.0.0 before 3.0.2

Fixed versions

  • 3.0.2

Solution

Upgrade to version 3.0.2 or above.

Impact 7.5 HIGH

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

Learn more about CVSS

Weakness

  • CWE-91: XML Injection (aka Blind XPath Injection)

Source file

packagist/robrichards/xmlseclibs/GHSA-2g98-f9jv-w8c5.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:16 +0000.