CVE-2021-40926 json
Cross-site scripting in demos/demo.mysqli.php in getID3
published 2021-10-01 5 y ago modified 2026-06-17 4 mo ago also GHSA-x2gw-85w6-fjjw , EUVD-2021-2270
- cvss
- 6.1
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.0%
- EPSS 1.0% chance of exploitation in 30 days, percentile 63%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- packagist james-heinrich/getid3 1.9.21
- getid3 getid3 2.0.0
- php-getid3 Debian 14, Debian 13, Debian 12 1.9.21+dfsg-1
debian advisories DEBIAN-CVE-2021-40926
- github.com/JamesHeinrich/getID3#342 pull request
- github.com/JamesHeinrich/getID3/releases/tag/v1.9.21 release
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2021-40926 updated cvss 6.1
php-getid3: xss in demos/demo.mysqli.php allows remote attackers to inject arbitrary web script
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
1.01% chance of exploitation in the next 30 days, higher than 63% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/JamesHeinrich/getID3/issues/341 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| NVD | 2.0 | 4.3 | AV:N/AC:M/Au:N/C:N/I:P/A:N |
| GitHub | 3.1 | 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| packagist | james-heinrich/getid3 | >=1.0.0, <1.9.21 |
1.9.21 |
Classification
- Weakness
-
- CWE-79 Improper Neutralization of Input During Web Page Generation
References
-
github.com
/JamesHeinrich/getID3/pull/342
web
-
github.com
/JamesHeinrich/getID3/issues/341
web, exploit, issue-tracking, third-party-advisory
-
github.com
/JamesHeinrich/getID3
package, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2021-40926
advisory
-
github.com
/JamesHeinrich/getID3/releases/tag/v1.9.21
web
Sources
- CVE List CVE-2021-40926
- GitHub Advisory GHSA-x2gw-85w6-fjjw
- NVD CVE-2021-40926
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.