Bug 2520565 - CVE-2026-65898 forgejo: DOMPurify: Cross-site scripting via permanent attribute allowlist pollution [fedora-all]
Summary: CVE-2026-65898 forgejo: DOMPurify: Cross-site scripting via permanent attribu...
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: forgejo
Version: rawhide
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
Assignee: Fedora Infrastructure SIG
QA Contact:
URL:
Whiteboard: {"flaws": ["c2e04916-ac6b-4c4c-99cc-b...
Depends On:
Blocks: CVE-2026-65898
TreeView+ depends on / blocked
 
Reported: 2026-08-20 16:50 UTC by Ganesh
Modified: 2026-08-20 16:50 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Ganesh 2026-08-20 16:50:51 UTC
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.

DOMPurify before 3.4.11 fails to clone the ALLOWED_ATTR allowlist when setConfig() is used with an uponSanitizeAttribute hook, allowing the hook to permanently mutate the shared allowlist. Attackers can register a hook that conditionally allows dangerous attributes like onerror for trusted elements, then submit untrusted content that inherits the polluted allowlist and executes event handlers as stored XSS.


Note You need to log in before you can comment on or make changes to this bug.