{"id":"UBUNTU-CVE-2020-27511","details":"An issue was discovered in the stripTags and unescapeHTML components in Prototype 1.7.3 where an attacker can cause a Regular Expression Denial of Service (ReDOS) through stripping crafted HTML tags.","modified":"2026-05-20T16:04:21.985186213Z","published":"2021-06-21T20:15:00Z","upstream":["CVE-2020-27511"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2020-27511"},{"type":"REPORT","url":"http://prototypejs.org/"},{"type":"REPORT","url":"https://github.com/yetingli/PoCs/blob/main/CVE-2020-27511/Prototype.md"},{"type":"REPORT","url":"https://github.com/prototypejs/prototype/blob/dee2f7d8611248abce81287e1be4156011953c90/src/prototype/lang/string.js#L283"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2020-27511"}],"affected":[{"package":{"name":"prototypejs","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/prototypejs?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.7.1-3"],"ecosystem_specific":{"binaries":[{"binary_version":"1.7.1-3","binary_name":"libjs-prototype"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-27511.json"}},{"package":{"name":"prototypejs","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/prototypejs?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.7.1-3"],"ecosystem_specific":{"binaries":[{"binary_name":"libjs-prototype","binary_version":"1.7.1-3"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-27511.json"}},{"package":{"name":"prototypejs","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/prototypejs?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.7.1-3"],"ecosystem_specific":{"binaries":[{"binary_name":"libjs-prototype","binary_version":"1.7.1-3"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-27511.json"}},{"package":{"name":"prototypejs","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/prototypejs?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.7.1-3.1"],"ecosystem_specific":{"binaries":[{"binary_name":"libjs-prototype","binary_version":"1.7.1-3.1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-27511.json"}},{"package":{"name":"prototypejs","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/prototypejs?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.7.3-1"],"ecosystem_specific":{"binaries":[{"binary_name":"libjs-prototype","binary_version":"1.7.3-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-27511.json"}},{"package":{"name":"prototypejs","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/prototypejs?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.7.3-2"],"ecosystem_specific":{"binaries":[{"binary_version":"1.7.3-2","binary_name":"libjs-prototype"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-27511.json"}},{"package":{"name":"prototypejs","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/prototypejs?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.7.3-2","1.7.3-2build1"],"ecosystem_specific":{"binaries":[{"binary_version":"1.7.3-2build1","binary_name":"libjs-prototype"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-27511.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"type":"Ubuntu","score":"medium"}]}