{"id":"CVE-2021-32806","aliases":["CVE-2021-32806","GHSA-q3m9-9fj2-mfwr","PYSEC-2021-323"],"related":[],"kind":"vulnerability","state":"published","title":"URL Redirection to Untrusted Site ('Open Redirect') in Products.isurlinportal","summary":"Products.isurlinportal is a replacement for isURLInPortal method in Plone. Versions of Products.isurlinportal prior to 1.2.0 have an Open Redirect vulnerability. Various parts of Plone use the 'is url in portal' check for security, mostly to see if it is safe to redirect to a url. A url like `https://example.org` is not in the portal. The url `https:example.org` without slashes is considered to be in the portal. When redirecting, some browsers go to `https://example.org`, others give an error. Attackers may use this to redirect victims to their site, especially as part of a phishing attack. The problem has been patched in Products.isurlinportal 1.2.0.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Products.isurlinportal is a replacement for isURLInPortal method in Plone. Versions of Products.isurlinportal prior to 1.2.0 have an Open Redirect vulnerability. Various parts of Plone use the 'is url in portal' check for security, mostly to see if it is safe to redirect to a url. A url like `https://example.org` is not in the portal. The url `https:example.org` without slashes is considered to be in the portal. When redirecting, some browsers go to `https://example.org`, others give an error. Attackers may use this to redirect victims to their site, especially as part of a phishing attack. The problem has been patched in Products.isurlinportal 1.2.0.","source":"cvelist"},{"lang":"en","text":"### Impact\nVarious parts of Plone use the 'is url in portal' check for security, mostly to see if it is safe to redirect to a url. A url like `https://example.org` is not in the portal.\nBut the url `https:example.org` without slashes tricks our code and it _is_ considered to be in the portal.\nWhen redirecting, some browsers go to `https://example.org`, others give an error.\nAttackers may use this to redirect you to their site, especially as part of a phishing attack.\n\n### Patches\nThe problem has been patched in `Products.isurlinportal` 1.2.0.\nThis is a recommended upgrade for all users of Plone 4.3 and 5, on Python 2.7 or higher.\nIt has not been tested on earlier Plone or Python versions.\nUpcoming Plone 5.2.5 and higher will include the new version.\n\n### Discovered\nThis vulnerability was discovered and reported by Yuji Tounai of Mitsui Bussan Secure Directions, Inc. Thank you!\n\n### For more information\nIf you have any questions or comments about this advisory:\n* Email the Plone Security Team at [security@plone.org](mailto:security@plone.org), especially when you think you have discovered a security problem or when you are not sure.\n* Open an issue in [the tracker](https://github.com/plone/Products.isurlinportal/issues) if your question or comment can be public.","format":"markdown","source":"ghsa"},{"lang":"es","text":"Products.isurlinportal es un sustituto del método isURLInPortal de Plone. Unas versiones de Products.isurlinportal versiones anteriores a 1.2.0, presentan una vulnerabilidad de Open Redirect. Varias partes de Plone usa una comprobación \"is url in portal\" por seguridad, principalmente para ver si es seguro redirigir a una url. Una url como \"https://example.org\" no está en el portal. La url \"https:example.org\" sin barras es considerada que está en el portal. Cuando se redirige, algunos navegadores van a \"https://example.org\", otros dan un error. Unos atacantes pueden usar esto para redirigir a las víctimas a su sitio, especialmente como parte de un ataque de phishing. El problema ha sido parcheado en Products.isurlinportal versión 1.2.0","source":"nvd"}],"published":"2021-08-02T18:25:11.000Z","modified":"2026-07-08T06:28:00.985Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N","score":6.5,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N","score":6.5,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N","score":6.5,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N","rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:M/Au:N/C:P/I:P/A:N","score":5.8,"rating":"MEDIUM"}],"cwes":["CWE-601"],"affected":[{"ranges":[{"version":"< 1.2.0","status":"affected"}],"vendor":"plone","product":"Products.isurlinportal","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"1.2.0"}],"ecosystem":"PyPI","package":"products-isurlinportal","purl":"pkg:pypi/products-isurlinportal","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"1.2.0"}],"vendor":"plone","product":"isurlinportal","cpe":"cpe:2.3:a:plone:isurlinportal:*:*:*:*:*:plone:*:*","source":"nvd"},{"ranges":[{"type":"git","introduced":"0","status":"affected","fixed":"d4fd34990d18adf05a10dc5e2bb4b066798280ba"},{"type":"ecosystem","introduced":"0","status":"affected","fixed":"1.2.0"}],"ecosystem":"PyPI","package":"products-isurlinportal","purl":"pkg:pypi/products-isurlinportal","repo":"https://github.com/plone/Products.isurlinportal","source":"pysec"}],"references":[{"url":"https://github.com/plone/Products.isurlinportal/security/advisories/GHSA-q3m9-9fj2-mfwr","tags":["advisory","third-party-advisory","web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/plone/Products.isurlinportal/commit/d4fd34990d18adf05a10dc5e2bb4b066798280ba","tags":["fix","patch","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"http://jvn.jp/en/jp/JVN50804280/index.html","tags":["third-party-advisory","web","x-refsource-jvn","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-32806","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/plone/Products.isurlinportal","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/products-isurlinportal/PYSEC-2021-323.yaml","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-32806","url":"https://www.cve.org/CVERecord?id=CVE-2021-32806","licence":"CVE Terms of Use","modified":"2024-08-03T23:33:55.913Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-q3m9-9fj2-mfwr","url":"https://github.com/advisories/GHSA-q3m9-9fj2-mfwr","licence":"CC-BY-4.0","modified":"2026-07-08T06:28:00.985Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-32806","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-32806","licence":"Public domain","modified":"2026-06-17T03:53:40.033Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2021-323","url":"https://osv.dev/vulnerability/PYSEC-2021-323","licence":"CC-BY-4.0","modified":"2023-11-08T04:06:00.649Z"}],"updatedAt":"2026-11-25T22:58:02.932Z","epss":{"score":0.01028,"percentile":0.6459,"date":"2026-12-01T12:00:22.000Z"}}