Advisory

GHSA-5rcc-6cmj-7728

Also known as: CVE-2022-0877

Summary

Cross-site Scripting in BookStack

Details

Iframe tags don't have a sandbox attribute, this makes an attacker able to execute malicious javascript via an iframe and perform phishing attacks. The sandbox attribute will block script execution and prevents the content to navigate its top-level browsing context which will stop this type of attack.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2022-03-09 00:00 UTC
Modified
2023-11-08 04:07 UTC

Affected packages and fixes

ssddanbrown/bookstack

Packagist · All systems

Affected

  • introduced 0, fixed 22.02.3 (ecosystem)

Fixed versions

22.02.3

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences