Every CVE Search/ Get API key

CVE-2021-3271

Stored cross-site scripting in PressBooks

4.8 MediumFix available

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.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
High
User interaction
Required

What an attacker can affect

Confidentiality
Low
Integrity
Low
Availability
None

Exploit likelihood

0.94%Up 0.1 points since Apr 14, 2021
90%50%10%1%

What each source reports

NVD Score used 4.8

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.

Record
CVE-2021-3271
CVSS 3.1
4.8 MediumCVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N
CVSS 2.0
3.5 LowAV:N/AC:M/Au:S/C:N/I:P/A:N
Weakness
CWE-79
Updated
2026-11-02
CVE List No score

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.

Record
CVE-2021-3271
Updated
2026-11-02
EUVDEUVD-2021-0637 No score

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.

Record
EUVD-2021-0637
Updated
2026-11-03
GitHub AdvisoriesGHSA-9652-78hp-w58c 4.8

Stored cross-site scripting in PressBooks

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.

Record
GHSA-9652-78hp-w58c
CVSS 3.1
4.8 MediumCVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N
Weakness
CWE-79
Updated
2026-11-02
OSV 4.8

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.

Record
CVE-2021-3271
CVSS 3.1
4.8 MediumCVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N
Updated
2026-11-02
OSVGHSA-9652-78hp-w58c 4.8

Stored cross-site scripting in PressBooks

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.

Record
GHSA-9652-78hp-w58c
CVSS 3.1
4.8 MediumCVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N
Weakness
CWE-79
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
pressbooks/pressbooks
Packagist
before 5.18.0
5.18.0
pressbooks/pressbooks
Packagist
before 5.18.0, plus listed versions
2.3.43.5.03.5.13.5.23.6.0
Show 45 moreShow less
3.6.13.6.23.6.33.7.03.7.13.8.03.8.13.9.03.9.13.9.103.9.23.9.2.13.9.7.13.9.7.23.9.83.9.8-RC13.9.8-RC23.9.8-RC33.9.8.13.9.8.23.9.94.0.04.0.0-RC14.0.14.0.24.1.04.2.04.3.04.3.14.3.24.3.34.3.44.3.54.4.04.5.04.5.15.0.05.0.0-beta.15.0.0-rc.15.0.15.0.25.1.05.1.15.10.05.10.1
5.18.0

History

History
RecordedChangedSources
aliasesEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2021-3271 is a medium vulnerability (CVSS 4.8) in Pressbooks, published January 22, 2021. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.94%, the 61st percentile. Fixed in pressbooks/pressbooks 5.18.0.

References

This page doesn't list everything

Left out here: 78 versions. The JSON record has them.

MoveEnter Open