Security mailing lists by PureSourceCode

CVE-2021-3271

MEDIUM 4.8CVSS 3.1

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.

Published
18 Feb 2021
Last modified
17 Jun 2026
Assigned by
cve@mitre.org
NVD status
Modified
Weakness
CWE-79
Also known as
GHSA-9652-78hp-w58c
Sources
NVDJSONOSV GHSA-9652-78hp-w58cJSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 MEDIUM 4.8 CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N
OSV GitHub CVSS 3.1 MEDIUM 4.8 CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N
NVD nvd@nist.gov (Primary) CVSS 2.0 LOW 3.5 AV:N/AC:M/Au:S/C:N/I:P/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD pressbooks pressbooks
cpe:2.3:a:pressbooks:pressbooks:*:*:*:*:*:*:*:*
<= 5.17.3
OSV Packagist pressbooks/pressbooks < 5.18.0 5.18.0

References

History

  • 25 Nov 2026 20:32 UTC · NVD: first stored (published 18 Feb 2021)
  • 25 Nov 2026 20:15 UTC · OSV: first stored (published 29 Mar 2021)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.