# CVE-2022-30110: Cross-site Scripting in Jirafeau

- Severity: Medium 6.1 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/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): 0.61%, higher than 50% of CVEs (2026-12-01)
- Published: 2022-05-17T13:14:17.000Z
- Modified: 2026-06-17T04:43:03.637Z
- Also known as: GHSA-j2xf-p274-g8cc
- Weaknesses: CWE-79
- Assigned by: mitre

## Description

The file preview functionality in Jirafeau < 4.4.0, which is enabled by default, could be exploited for cross site scripting. An attacker could upload image/svg+xml files containing JavaScript. When someone visits the File Preview URL for this file, the JavaScript inside of this image/svg+xml file will be executed in the users' browser.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- mojo42/jirafeau (Packagist): before 4.4.0
- jirafeau jirafeau: before 4.4.0

## Every score

- GitHub: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:2.0 4.3 Medium `AV:N/AC:M/Au:N/C:N/I:P/A:N`

## References

- <https://gitlab.com/mojo42/Jirafeau/-/merge_requests/103> (patch, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-30110> (advisory)
- <https://gitlab.com/mojo42/Jirafeau> (package)

## Sources

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

---

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