# JLSEC-2026-1282: The REXML gem before 3.2.5 in Ruby before 2.6.7, 2.7.x before 2.7.3, and 3.x before 3.0.1 does not properly address XML round-trip issues.

- Severity: High 7.5 (CVSS:3.1, scored by Julia Security Advisories) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2026-08-13T09:49:53.975Z
- Modified: 2026-08-13T10:00:11.255Z
- Related: CVE-2021-28965

## Description

The REXML gem before 3.2.5 in Ruby before 2.6.7, 2.7.x before 2.7.3, and 3.x before 3.0.1 does not properly address XML round-trip issues. An incorrect document can be produced after parsing and serializing.

(As written by Julia Security Advisories.)

## Affected

- ruby_jll (Julia): all versions

## Every score

- Julia Security Advisories: CVSS:2.0 `AV:N/AC:L/Au:N/C:N/I:P/A:N`
- Julia Security Advisories: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N`

## References

- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/WTVFTLFVCSUE5CXHINJEUCKSHU4SWDMT/> (web)
- <https://security.netapp.com/advisory/ntap-20210528-0003/> (web)
- <https://www.ruby-lang.org/en/news/2021/04/05/xml-round-trip-vulnerability-in-rexml-cve-2021-28965/> (web)

## Sources

- Julia Security Advisories: [JLSEC-2026-1282](https://osv.dev/vulnerability/JLSEC-2026-1282), CC-BY-4.0, modified 2026-08-13

---

Page: https://cve.day/JLSEC-2026-1282 · Whole record: https://cve.day/JLSEC-2026-1282.json · Rebuilt by cve.day 2026-11-25T22:56:25.925Z
