# CVE-2020-36664: Artesãos SEOTools SEOMeta.php setTitle redirect

> An open redirect vulnerability in the setTitle function allows attackers to redirect users to malicious sites, requiring an upgrade to the SEOTools library.

- **Severity:** Medium 5.5 (`CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L`)
- **Exploited in the wild:** Not known
- **Login needed:** Any signed-in user
- **Attackable:** Local or same network only
- **Victim action needed:** Not needed
- **Fix available:** Yes
- **Published:** 4 Mar 2023
- **Updated:** 4 Aug 2024
- **Also known as:** GHSA-w745-xjqx-7wp8

## What is CVE-2020-36664?

CVE-2020-36664 is a medium-severity vulnerability in Artesãos SEOTools, published on 4 Mar 2023. It can only be exploited from the same machine or local network, with no action from the victim.

### Official description

A vulnerability has been found in Artesãos SEOTools up to 0.17.1 and classified as problematic. This vulnerability affects the function setTitle of the file SEOMeta.php. The manipulation of the argument title leads to open redirect. Upgrading to version 0.17.2 is able to address this issue. The name of the patch is ca27cd0edf917e0bc805227013859b8b5a1f01fb. It is recommended to upgrade the affected component. The identifier of this vulnerability is VDB-222232.

Weakness: CWE-601 (URL Redirection to Untrusted Site)

## Which versions are affected by CVE-2020-36664?

2 open source packages ship an affected version, including artesaos/seotools. It affects 1 product.


| Package | Ecosystem | Affected | Fixed in |
| --- | --- | --- | --- |
| `artesaos/seotools` | Packagist | All versions | 0.17.2 |
| `artesaos/seotools` | Packagist | All versions | 0.17.2 |

Products: Seotool Project Seotool.

## How do I fix CVE-2020-36664?

Upgrade artesaos/seotools to 0.17.2 or later.

## Is CVE-2020-36664 being exploited?

There is no known exploitation of CVE-2020-36664 in the wild and no public exploit code.

## Other vulnerabilities in Artesãos SEOTools

- [CVE-2020-36663](https://insights.sbomify.com/CVE-2020-36663/): Artesãos SEOTools OpenGraph.php makeTag redirect (medium 5.5)
- [CVE-2020-36665](https://insights.sbomify.com/CVE-2020-36665/): Artesãos SEOTools TwitterCards.php eachValue redirect (medium 5.5)

## Fix prompt for AI coding agents

```text
Check this codebase for CVE-2020-36664 and fix it if it is affected.

What it is: CVE-2020-36664 is a medium-severity vulnerability in Artesãos SEOTools, published on 4 Mar 2023. It can only be exploited from the same machine or local network, with no action from the victim.
Exploitation: There is no known exploitation of CVE-2020-36664 in the wild and no public exploit code.

Affected packages and fixed versions:
- artesaos/seotools (Packagist): affected all versions; fixed in 0.17.2
- artesaos/seotools (Packagist): affected all versions; fixed in 0.17.2

Task:
1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.
2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.

Reference: https://insights.sbomify.com/CVE-2020-36664/ (Markdown: https://insights.sbomify.com/CVE-2020-36664/index.md)
```

## Sources

- CVE record: https://www.cve.org/CVERecord?id=CVE-2020-36664
- NVD: https://nvd.nist.gov/vuln/detail/CVE-2020-36664
- OSV: https://osv.dev/vulnerability/CVE-2020-36664

---
From sbomify Insights: https://insights.sbomify.com/CVE-2020-36664/
Summaries are generated and may contain mistakes; the official description above is the record.
