Skip to content

C3: Stored XSS in holiday descriptions and the user picker #11

Open

Description

@caseysoftware
  • holiday_description comes from a POST value (the radio buttons only suggest values) and is stored as-is. It's echoed raw into title="..." on both calendar tabs.
  • The user picker echoes contact_first_name / contact_last_name raw.
  • The <li id> values echo the holiday's internal name raw.

Files: holiday.php L257, L317–326; holiday_settings.php L358–364

Fix: w2PformSafe() / htmlspecialchars() on output.

Evidence: found by reading the code against master; not reproduced on a running install.
Effort: XS

Part of #1.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugsecurityweb2project 5.0

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions