Vulnerability · Published Jan 22, 2021 · Assigned by mitre
CVE-2021-3271
Medium 4.8
In plain English
A medium-severity security flaw in the pressbooks/pressbooks package (Packagist). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.9% (higher than 61% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS NVD)4.8Medium
Exploit odds (30 days)0.9%top 38.8% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known
Official description
PressBooks 5.17.3 contains a cross-site scripting (XSS). Stored XSS can be submitted via the Book Info's Long Description Body, and all actions to open or preview the books page will result in the triggering the stored XSS.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Packagist | pressbooks/pressbooks | 5.18.0 | GHSA-9652-78hp-w58c |
Affected products (as reported)
References
- https://github.com/pressbooks/pressbooks/pull/2072 x_refsource_MISC
- https://github.com/pressbooks/pressbooks x_refsource_MISC
- https://www.gosecure.net/blog/2021/02/16/cve-2021-3271-pressbooks-stored-cross-site-scripting-proof-of-concept/ x_refsource_MISC