CVE-2021-23342
It is possible to bypass the remediation done by CVE-2020-7680 and execute malicious JavaScript through the following methods 1) When parsing HTML from remote URLs, the HTML code on the main page is sanitized, but this sanitization is not taking place…
Does this matter?
Lower severity and a low EPSS score (1.66%). Track it; it rarely justifies an emergency change on its own.
Description
This affects the package docsify before 4.12.0. It is possible to bypass the remediation done by CVE-2020-7680 and execute malicious JavaScript through the following methods 1) When parsing HTML from remote URLs, the HTML code on the main page is sanitized, but this sanitization is not taking place in the sidebar. 2) The isURL external check can be bypassed by inserting more “////” characters
- CVSS 3.1
- 6.1 MEDIUMCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- EPSS
- 1.66% probability · 75th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-79
- Affected
- docsifyjs/docsify
- Source
- report@snyk.io
References
- http://packetstormsecurity.com/files/161495/docsify-4.11.6-Cross-Site-Scripting.htmlExploit, Third Party Advisory
- http://seclists.org/fulldisclosure/2021/Feb/71Mailing List, Third Party Advisory
- https://github.com/docsifyjs/docsify/commit/ff2a66f12752471277fe81a64ad6c4b2c08111fePatch, Third Party Advisory
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1076593Exploit, Third Party Advisory
- https://snyk.io/vuln/SNYK-JS-DOCSIFY-1066017Exploit, Third Party Advisory
- http://packetstormsecurity.com/files/161495/docsify-4.11.6-Cross-Site-Scripting.htmlExploit, Third Party Advisory
- http://seclists.org/fulldisclosure/2021/Feb/71Mailing List, Third Party Advisory
- https://github.com/docsifyjs/docsify/commit/ff2a66f12752471277fe81a64ad6c4b2c08111fePatch, Third Party Advisory
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1076593Exploit, Third Party Advisory
- https://snyk.io/vuln/SNYK-JS-DOCSIFY-1066017Exploit, Third Party Advisory
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.