Affected versions
Composerpressbooks/pressbooks
- Affected versions
- < 5.18.0
- Fixed version
- 5.18.0
Exploitation
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.
Links
- https://github.com/advisories/GHSA-9652-78hp-w58c
- https://github.com/pressbooks/pressbooks
- https://github.com/pressbooks/pressbooks/commit/941a8c5eaeacea5eb211b54ee55bc0348139cbd8
- https://github.com/pressbooks/pressbooks/pull/2072
- https://nvd.nist.gov/vuln/detail/CVE-2021-3271
- https://www.gosecure.net/blog/2021/02/16/cve-2021-3271-pressbooks-stored-cross-site-scripting-proof-of-concept
- https://www.gosecure.net/blog/2021/02/16/cve-2021-3271-pressbooks-stored-cross-site-scripting-proof-of-concept/

