# CVE-2022-21948: paste: XSS on the image upload function

- Severity: Medium 4.3 (CVSS:3.1, scored by suse) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/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.58%, higher than 42% of CVEs (2026-11-30)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2023-02-07T00:00:00.000Z
- Modified: 2026-06-17T04:27:20.253Z
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: suse

## Description

An Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in paste allows remote attackers to place Javascript into SVG files. This issue affects: openSUSE paste paste version b57b9f87e303a3db9465776e657378e96845493b and prior versions.

(As written by CVE List.)

## Affected

- openSUSE paste: from paste up to b57b9f87e303a3db9465776e657378e96845493b; before 2011-12-05

## Every score

- suse: CVSS:3.1 4.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/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`

## References

- <https://bugzilla.suse.com/show_bug.cgi?id=1197930> (exploit, issue-tracking, patch)

## Sources

- CVE List: [CVE-2022-21948](https://www.cve.org/CVERecord?id=CVE-2022-21948), CVE Terms of Use, modified 2025-03-25
- NVD: [CVE-2022-21948](https://nvd.nist.gov/vuln/detail/CVE-2022-21948), Public domain, modified 2026-06-17

---

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