Moderate severityNVD Advisory· Published Mar 4, 2023· Updated Aug 4, 2024
Artesãos SEOTools TwitterCards.php eachValue redirect
CVE-2020-36665
Description
A vulnerability was found in Artesãos SEOTools up to 0.17.1 and classified as critical. This issue affects the function eachValue of the file TwitterCards.php. The manipulation of the argument value leads to open redirect. Upgrading to version 0.17.2 is able to address this issue. The identifier of the patch is ca27cd0edf917e0bc805227013859b8b5a1f01fb. It is recommended to upgrade the affected component. The identifier VDB-222233 was assigned to this vulnerability.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
artesaos/seotoolsPackagist | < 0.17.2 | 0.17.2 |
Affected products
1Patches
1ca27cd0edf91open redirect vulnerability fixes (#201)
3 files changed · +5 −0
src/SEOTools/OpenGraph.php+1 −0 modified@@ -258,6 +258,7 @@ protected function eachProperties( */ protected function makeTag($key = null, $value = null, $ogPrefix = false) { + $value = str_replace(['http-equiv=', 'url='], '', $value); return sprintf( '<meta property="%s%s" content="%s" />%s', $ogPrefix ? $this->og_prefix : '',
src/SEOTools/SEOMeta.php+3 −0 modified@@ -213,6 +213,9 @@ public function generate($minify = false) */ public function setTitle($title, $appendDefault = true) { + // open redirect vulnerability fix + $title = str_replace(['http-equiv=', 'url='], '', $title); + // clean title $title = strip_tags($title);
src/SEOTools/TwitterCards.php+1 −0 modified@@ -83,6 +83,7 @@ protected function eachValue(array $values, $prefix = null) */ private function makeTag($key, $value) { + $value = str_replace(['http-equiv=', 'url='], '', $value); return '<meta name="'.$this->prefix.strip_tags($key).'" content="'.strip_tags($value).'" />'; }
Vulnerability mechanics
Generated by null/stub on May 9, 2026. Inputs: CWE entries + fix-commit diffs from this CVE's patches. Citations validated against bundle.
References
7- github.com/artesaos/seotools/commit/ca27cd0edf917e0bc805227013859b8b5a1f01fbghsapatchWEB
- github.com/artesaos/seotools/releases/tag/v0.17.2ghsapatchWEB
- github.com/advisories/GHSA-w2x5-hpmg-j98hghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2020-36665ghsaADVISORY
- github.com/artesaos/seotools/pull/201ghsaissue-trackingWEB
- vuldb.comghsasignaturepermissions-requiredWEB
- vuldb.comghsavdb-entrytechnical-descriptionWEB
News mentions
0No linked articles in our index yet.