{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2021-3271","published":"2021-02-18T19:15:13.273000Z","last_modified":"2026-06-17T04:04:52.257000Z","status":"Modified","cvss":{"version":"3.1","score":4.8,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N","source":"nvd@nist.gov","primary":true},"auth":true,"cwes":["CWE-79"],"cpes":[{"criteria":"cpe:2.3:a:pressbooks:pressbooks:*:*:*:*:*:*:*:*","part":"a","vendor":"pressbooks","product":"pressbooks","version_end_including":"5.17.3"}],"cpes_truncated":false,"vendors":["pressbooks"],"products":["pressbooks/pressbooks"],"epss":{"score":0.00943,"percentile":0.59543,"date":"2026-11-29","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-9652-78hp-w58c","ecosystem":"Packagist","name":"pressbooks/pressbooks","purl":"pkg:composer/pressbooks/pressbooks","ranges":[{"introduced":"0","fixed":"5.18.0"}],"versions":["2.3.4","3.5.0","3.5.1","3.5.2","3.6.0","3.6.1","3.6.2","3.6.3","3.7.0","3.7.1","3.8.0","3.8.1","3.9.0","3.9.1","3.9.10","3.9.2","3.9.2.1","3.9.7.1","3.9.7.2","3.9.8","3.9.8-RC1","3.9.8-RC2","3.9.8-RC3","3.9.8.1","3.9.8.2","3.9.9","4.0.0","4.0.0-RC1","4.0.1","4.0.2","4.1.0","4.2.0","4.3.0","4.3.1","4.3.2","4.3.3","4.3.4","4.3.5","4.4.0","4.5.0","4.5.1","5.0.0","5.0.0-beta.1","5.0.0-rc.1","5.0.1","5.0.2","5.1.0","5.1.1","5.10.0","5.10.1","5.11.0","5.12.0","5.13.0","5.14.0","5.14.1","5.14.2","5.14.3","5.14.4","5.14.5","5.14.6","5.15.0","5.15.1","5.15.2","5.15.3","5.16.0","5.16.1","5.16.2","5.16.3","5.17.0","5.17.1","5.17.2","5.17.3","5.2.0","5.2.1","5.3.0","5.3.1","5.3.2","5.3.3","5.3.4","5.4.0","5.4.1","5.4.2","5.4.3","5.4.4","5.4.5","5.4.6","5.4.7","5.5.0","5.5.1","5.5.2","5.5.3","5.5.4","5.5.5","5.5.6","5.6.0","5.6.1","5.6.2","5.6.3","5.6.4","5.6.5","5.7.0","5.7.1","5.7.2","5.8.0","5.8.1","5.8.2","5.8.3","5.9.0","5.9.1","5.9.2","5.9.3","5.9.4","5.9.5","v3.3.0","v3.3.1","v3.3.2","v3.4.0","v3.9.3","v3.9.4","v3.9.4.1","v3.9.4.2","v3.9.5","v3.9.5.1","v3.9.6","v3.9.7","v3.9.7-RC1","v3.9.7-RC2","v3.9.7-RC3"],"versions_truncated":false}],"severity":"medium","priority_score":29,"links":{"html_es":"/es/cve/CVE-2021-3271/","html_en":"/en/cve/CVE-2021-3271/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-3271","cve_org":"https://www.cve.org/CVERecord?id=CVE-2021-3271"},"untrusted":{"vendor_name":"Pressbooks","product_name":"Pressbooks","desc_en":"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.","affected":[],"references":[{"url":"https://github.com/pressbooks/pressbooks","tags":["Third Party Advisory"]},{"url":"https://github.com/pressbooks/pressbooks/pull/2072","tags":["Exploit","Third Party Advisory"]},{"url":"https://www.gosecure.net/blog/2021/02/16/cve-2021-3271-pressbooks-stored-cross-site-scripting-proof-of-concept/","tags":["Exploit","Third Party Advisory"]}]}}