CVE-2021-3271Pressbooks
Medium 4.8
Follow: this CVE · Pressbooks · Pressbooks We alert you by email or Slack (account required).
- Priority
- 29
- CVSS 3.1
- 4.8
- EPSS
- 0.9% probability of exploitation in 30 days · percentile 60
- Auth required
- Yes
- Published
- Feb 18, 2021
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-79
- Vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N
What happens
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.
What to do
- Apply the vendor's security update for Pressbooks.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Packagist | pressbooks/pressbooks |
< 5.18.0 |
5.18.0 |
composer require "pressbooks/pressbooks:^5.18.0" |
Per OSV / GitHub Advisories (GHSA-9652-78hp-w58c). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| pressbooks | pressbooks | ≤ 5.17.3 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Third Party Advisory
- github.com Exploit Third Party Advisory
- www.gosecure.net Exploit Third Party Advisory