# CVE-2021-40926: Cross-site scripting in demos/demo.mysqli.php in getID3

- 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): 1.00%, higher than 63% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2021-10-01T15:42:09.000Z
- Modified: 2026-06-17T04:07:39.133Z
- Also known as: GHSA-x2gw-85w6-fjjw
- Weaknesses: CWE-79
- Assigned by: mitre

## Description

Cross-site scripting (XSS) vulnerability in demos/demo.mysqli.php in getID3 1.X and v2.0.0-beta allows remote attackers to inject arbitrary web script or HTML via the showtagfiles parameter.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- james-heinrich/getid3 (Packagist): from 1.0.0 before 1.9.21
- getid3 getid3: from 1.9.0 before 2.0.0; 2.0.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://github.com/JamesHeinrich/getID3/issues/341> (exploit, issue-tracking, third-party-advisory, web)
- <https://github.com/JamesHeinrich/getID3> (package, third-party-advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-40926> (advisory)
- <https://github.com/JamesHeinrich/getID3/pull/342> (web)
- <https://github.com/JamesHeinrich/getID3/releases/tag/v1.9.21> (web)

## Sources

- CVE List: [CVE-2021-40926](https://www.cve.org/CVERecord?id=CVE-2021-40926), CVE Terms of Use, modified 2024-08-04
- GitHub Advisory Database: [GHSA-x2gw-85w6-fjjw](https://github.com/advisories/GHSA-x2gw-85w6-fjjw), CC-BY-4.0, modified 2023-11-08
- NVD: [CVE-2021-40926](https://nvd.nist.gov/vuln/detail/CVE-2021-40926), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-40926 · Whole record: https://cve.day/CVE-2021-40926.json · Rebuilt by cve.day 2026-11-25T22:58:04.252Z
