# GHSA-mrxw-mxhj-p664: Nokogiri updates packaged libxslt to v1.1.43 to resolve multiple CVEs

- Severity: High 7.8 (CVSS:3.1, scored by GitHub) `CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:N/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2025-03-14T18:51:37.000Z
- Modified: 2026-11-17T07:11:36.432Z
- Weaknesses: CWE-416, CWE-1395

## Description

## Summary

Nokogiri v1.18.4 upgrades its dependency libxslt to [v1.1.43](https://gitlab.gnome.org/GNOME/libxslt/-/releases/v1.1.43).

libxslt v1.1.43 resolves:

- CVE-2025-24855: Fix use-after-free of XPath context node
- CVE-2024-55549: Fix UAF related to excluded namespaces

## Impact

### CVE-2025-24855

- "Use-after-free due to xsltEvalXPathStringNs leaking xpathCtxt->node"
- MITRE has rated this 7.8 High CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:N/I:H/A:H
- Upstream report: https://gitlab.gnome.org/GNOME/libxslt/-/issues/128
- NVD entry: https://nvd.nist.gov/vuln/detail/CVE-2025-24855

### CVE-2024-55549

- "Use-after-free related to excluded result prefixes"
- MITRE has rated this 7.8 High CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:N/I:H/A:H
- Upstream report: https://gitlab.gnome.org/GNOME/libxslt/-/issues/127
- NVD entry: https://nvd.nist.gov/vuln/detail/CVE-2024-55549

(As written by GitHub Advisory Database.)

## Affected

- nokogiri (RubyGems): before 1.18.4

## References

- <https://github.com/sparklemotion/nokogiri/security/advisories/GHSA-mrxw-mxhj-p664> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-55549> (advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-24855> (advisory)
- <https://github.com/sparklemotion/nokogiri> (package)
- <https://gitlab.gnome.org/GNOME/libxslt/-/issues/127> (web)
- <https://gitlab.gnome.org/GNOME/libxslt/-/issues/128> (web)

## Sources

- GitHub Advisory Database: [GHSA-mrxw-mxhj-p664](https://github.com/advisories/GHSA-mrxw-mxhj-p664), CC-BY-4.0, modified 2026-11-17

---

Page: https://cve.day/GHSA-mrxw-mxhj-p664 · Whole record: https://cve.day/GHSA-mrxw-mxhj-p664.json · Rebuilt by cve.day 2026-11-25T22:56:41.417Z
