VYPR
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.

PackageAffected versionsPatched versions
artesaos/seotoolsPackagist
< 0.17.20.17.2

Affected products

1

Patches

1
ca27cd0edf91

open redirect vulnerability fixes (#201)

https://github.com/artesaos/seotoolsUgur AydogduApr 2, 2020via ghsa
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

News mentions

0

No linked articles in our index yet.