# CVE-2022-25312: An XML external entity (XXE) injection vulnerability exists in the Apache Any23 RDFa XSLTStylesheet extractor

- Severity: Critical 9.1 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 2.86%, higher than 87% of CVEs (2026-12-01)
- Published: 2022-03-04T23:25:08.000Z
- Modified: 2026-06-17T04:33:22.340Z
- Also known as: GHSA-2rmm-87v7-34rj
- Weaknesses: CWE-611
- Assigned by: apache

## Description

An XML external entity (XXE) injection vulnerability was discovered in the Any23 RDFa XSLTStylesheet extractor and is known to affect Any23 versions < 2.7. XML external entity injection (also known as XXE) is a web security vulnerability that allows an attacker to interfere with an application's processing of XML data. It often allows an attacker to view files on the application server filesystem, and to interact with any back-end or external systems that the application itself can access. This issue is fixed in Apache Any23 2.7.

(As written by CVE List.)

## Affected

- Apache Software Foundation Apache Any23: from Apache Any23 2.6 up to 2.6
- org.apache.any23:apache-any23 (Maven): before 2.7
- apache any23: before 2.7

## Every score

- GitHub: CVSS:3.1 9.1 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N`
- NVD: CVSS:3.1 9.1 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N`
- NVD: CVSS:2.0 6.4 Medium `AV:N/AC:L/Au:N/C:P/I:P/A:N`

## References

- <https://lists.apache.org/thread/y6cm5n3ksohsrhzqknqhzy7p3mtkyk23> (mailing-list, vendor-advisory, web)
- <http://www.openwall.com/lists/oss-security/2022/03/04/2> (mailing-list, patch, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-25312> (advisory)
- <https://github.com/apache/any23> (package)
- <https://github.com/apache/any23/blob/any23-2.7/RELEASE-NOTES.md> (web)

## Sources

- CVE List: [CVE-2022-25312](https://www.cve.org/CVERecord?id=CVE-2022-25312), CVE Terms of Use, modified 2024-08-03
- GitHub Advisory Database: [GHSA-2rmm-87v7-34rj](https://github.com/advisories/GHSA-2rmm-87v7-34rj), CC-BY-4.0, modified 2023-11-08
- NVD: [CVE-2022-25312](https://nvd.nist.gov/vuln/detail/CVE-2022-25312), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-25312 · Whole record: https://cve.day/CVE-2022-25312.json · Rebuilt by cve.day 2026-11-25T22:58:09.918Z
