SecurityContext

CVE-2021-3785: yourls - Stored XSS

  • Cve: CVE-2021-3785
  • Name: yourls - Stored XSS
  • Description: yourls is vulnerable to Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
  • Impact: Attackers can execute malicious scripts in the victim's browser, potentially stealing cookies, session tokens, or performing actions on behalf of the user.
  • Remediation: Apply the latest security patches or update to the latest version of yourls.
  • Vulnerability type: stored_xss
  • Vulnerability impact: client_script_exec
  • Requirement type: user_interaction
  • Requirements: Victim needs to load or interact with a maliciously crafted page
  • Labels source: projectdiscovery
  • Severity: medium
  • Cvss score: 5.4
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
  • Epss score: 0.00721
  • Epss percentile: 0.54876
  • Assignee: [email protected]
  • Published at: 2021-09-15T12:15:16Z
  • Age in days: 1896
  • Modified at: 2026-06-17T04:05:45Z
  • Patch available: yes
  • Public exploits total: 1
  • References total: 2
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2021-3785
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
  • Not known: hackerone

Cwe

IdName
CWE-79Improper Neutralization of Input During Web Page Generation

Public exploits

UrlSourceAdded date
https://huntr.dev/bounties/b4085d13-54fa-4419-a2ce-1d780cc31638nvd2021-09-15

References

UrlSourceTags
https://github.com/yourls/yourls/commit/1d8e224ebabb8a4c75b97f026950ed710faab0ffnvdPatch, Third Party Advisory
https://huntr.dev/bounties/b4085d13-54fa-4419-a2ce-1d780cc31638nvdExploit, Issue Tracking, Patch, Third Party Advisory

Products

ProductAffectedPlatform boundSourcesUrl
yourls:yourls< 1.8.2nonvd/v1/products/yourls/yourls

Projects

RepositoryLink kindsIndexedUrl
YOURLS/YOURLScommit, fix, packageyes/v1/repositories/YOURLS/YOURLS

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Public exploit: yes
  • Public exploit count: 1
  • Public exploit first date: 2021-09-15
  • Remote: yes
  • Authentication required: yes
  • Exposed hosts: 84
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports