Skip to content

Stored cross-site scripting in PressBooks

Moderate severity GitHub Reviewed Published Mar 29, 2021 to the GitHub Advisory Database • Updated Feb 1, 2023

Package

composer pressbooks/pressbooks (Composer)

Affected versions

< 5.18.0

Patched versions

5.18.0

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.

References

Published by the National Vulnerability Database Feb 18, 2021
Reviewed Mar 19, 2021
Published to the GitHub Advisory Database Mar 29, 2021
Last updated Feb 1, 2023

Severity

Moderate
4.8
/ 10

CVSS base metrics

Attack vector
Network
Attack complexity
Low
Privileges required
High
User interaction
Required
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None
CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N

Weaknesses

CVE ID

CVE-2021-3271

GHSA ID

GHSA-9652-78hp-w58c

Source code

No known source code
Loading Checking history
See something to contribute? Suggest improvements for this vulnerability.