Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. getkirby/cms
  4. ›
  5. GHSA-rv3r-vqjj-8c76

GHSA-rv3r-vqjj-8c76: Cross-site scripting from content entered in the tags and multiselect fields

August 30, 2022 (updated March 24, 2025)

The tags and multiselect fields allow to select tags from an autocompleted list. The tags field also allows to enter new tags or edit existing tags. Kirby already handled escaping of the autocompleted tags, but unfortunately the Panel used HTML rendering for new or edited tags as well as for custom tags from the content file.

This allowed attackers with Panel access to store malicious HTML code in a tag. The browser of the victim who visited the modified page in the Panel will then have rendered this malicious HTML code.

It also allowed self-inflicted XSS attacks in the tags field (meaning that malicious code is executed in the browser of the user who entered it). This could be used in social engineering attacks where a victim is convinced by an attacker to enter malicious code into a tags field.

Visitors without Panel access could only use this attack vector if your site allows changing the content of a tags or multiselect field from a frontend form (for example user self-registration or the creation of pages from a contact or other frontend form). If you validate or sanitize the provided form data, you are already protected against such attacks by external visitors.

You are also not affected by these vulnerabilities if your site doesn’t have untrustworthy users with Panel access or a way to modify field values from the frontend or if you don’t use the tags or multiselect fields.

References

  • github.com/advisories/GHSA-rv3r-vqjj-8c76
  • github.com/getkirby/kirby
  • github.com/getkirby/kirby/security/advisories/GHSA-rv3r-vqjj-8c76

Code Behaviors & Features

Detect and mitigate GHSA-rv3r-vqjj-8c76 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 3.5.7 before 3.5.8.1, all versions starting from 3.6.0 before 3.6.6.1, all versions starting from 3.7.0 before 3.7.4

Fixed versions

  • 3.5.8.1
  • 3.6.6.1
  • 3.7.4

Solution

Upgrade to versions 3.5.8.1, 3.6.6.1, 3.7.4 or above.

Impact 7.1 HIGH

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Source file

packagist/getkirby/cms/GHSA-rv3r-vqjj-8c76.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Tue, 13 May 2025 00:15:32 +0000.