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

- Severity: High 7.5 (CVSS:3.1, scored by GitHub) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2024-05-20T18:06:52.000Z
- Modified: 2024-12-05T05:40:08.868Z
- Weaknesses: CWE-91

## Description

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.

(As written by GitHub Advisory Database.)

## Affected

- robrichards/xmlseclibs (Packagist): from 1.0.0 before 3.0.2

## References

- <https://github.com/robrichards/xmlseclibs/commit/649032643f7aac493e91ca318da0339aec72aa4a> (web)
- <https://github.com/FriendsOfPHP/security-advisories/blob/master/robrichards/xmlseclibs/2018-09-27.yaml> (web)
- <https://github.com/robrichards/xmlseclibs> (package)

## Sources

- GitHub Advisory Database: [GHSA-2g98-f9jv-w8c5](https://github.com/advisories/GHSA-2g98-f9jv-w8c5), CC-BY-4.0, modified 2024-12-05

---

Page: https://cve.day/GHSA-2g98-f9jv-w8c5 · Whole record: https://cve.day/GHSA-2g98-f9jv-w8c5.json · Rebuilt by cve.day 2026-11-25T22:56:30.742Z
