Live threats

All CVEs / Pressbooks

CVE-2021-3271Pressbooks

Medium 4.8

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Pressbooks.

Affected packages

EcosystemPackageAffected versionsFixed inHow 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)

VendorProductVersions
pressbookspressbooks≤ 5.17.3

Official sources

References

Links published by the sources. Open them with care.